gecko/layout/reftests/editor/passwd-4.html

20 lines
463 B
HTML
Raw Normal View History

<!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>