gecko/layout/reftests/editor/passwd-4.html
Ehsan Akhgari cb2e381e3f Bug 542914 - Add some tests for text input fields to make sure their basic behavior and appearance does not regress; r=roc
--HG--
extra : rebase_source : 9d642f48af7ff927ad5e73d0e22d763fbcc9d5a7
2010-01-29 13:22:15 -05:00

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>