1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/reftests/passwd-4.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<!DOCTYPE html> 1.5 +<!-- 1.6 +Make sure that focusing a password text element does not 1.7 +cause a non-breaking space character to show up. 1.8 +--> 1.9 +<html class="reftest-wait"> 1.10 +<body onload="loaded()"> 1.11 + <input type="password"> 1.12 + <script> 1.13 + function loaded() { 1.14 + var i = document.getElementsByTagName("input")[0]; 1.15 + i.focus(); 1.16 + i.value += "abcdef"; 1.17 + i.blur(); 1.18 + document.documentElement.className = ""; 1.19 + } 1.20 + </script> 1.21 +</body> 1.22 +</html>