mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
20 lines
463 B
HTML
20 lines
463 B
HTML
|
<!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>
|