summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/webkit-text-security-4.html
blob: df2c60751fdd83038af8a95b0cafe3d6bd913354 (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="time": <input class="test" type="time" value="12:59">