summaryrefslogtreecommitdiff
path: root/editor/reftests/passwd-4.html
blob: 607a22ae41c44587869ee693e428d38b8c546cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<!--
Make sure that focusing a password text element does not
cause a non-breaking space character to show up.
-->
<html class="reftest-wait">
<body onload="loaded()">
    <input type="password">
    <script>
      function loaded() {
        var i = document.getElementsByTagName("input")[0];
        i.focus();
        i.value += "abcdef";
        i.blur();
        document.documentElement.className = "";
      }
    </script>
</body>
</html>