blob: 1dcca393a9eec6a11d584709ab073df845ef8b15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<meta charset=utf-8>
<style>
.test {
color: blue;
font: 13px monospace;
}
</style>
<script>
function go() {
// Apply the requested -webkit-text-security setting.
maskOption = document.location.search.substr(1);
document.styleSheets[0].cssRules[0].style.webkitTextSecurity = maskOption;
}
</script>
<body onload="go()">
input type="date": <input class="test" type="date" value="2023-12-31">
|