input-password-RTL-input-ref.html (543B)
1 <!DOCTYPE HTML> 2 <html class="reftest-wait"> 3 <head> 4 <script src="/tests/SimpleTest/SimpleTest.js"></script> 5 <script src="/tests/SimpleTest/EventUtils.js"></script> 6 </head> 7 <body> 8 <input type="password"> 9 <script> 10 function runTest() { 11 let hash = window.location.hash; 12 let input = document.getElementsByTagName("input")[0]; 13 input.focus(); 14 synthesizeKey("a"); 15 synthesizeKey("b"); 16 synthesizeKey("c"); 17 document.documentElement.removeAttribute("class"); 18 } 19 20 SimpleTest.waitForFocus(runTest); 21 </script> 22 </body> 23 </html>