summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/webkit-text-security-5.html
blob: 49b1f90d4b9f7c2c710a99d5678dc0957ed7276b (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="file": <input class="test" type="file">