summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/webkit-text-security-2.html
blob: 04987bb776e12c39810d4e781142bd7ba95e83f8 (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="number": <input class="test" type="number" value="12345">