bug664087-2.html (784B)
1 <html class="reftest-wait"> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <script src="/tests/SimpleTest/EventUtils.js"></script> 5 </head> 6 <body onload="start()"> 7 <textarea dir="rtl" onfocus="typeIntoMe()" spellcheck="false" style="-moz-appearance: none"></textarea> 8 <script> 9 function start() { 10 document.querySelector("textarea").focus(); 11 } 12 function typeIntoMe() { 13 setTimeout(function() { 14 sendString("a"); 15 synthesizeKey("KEY_Enter"); 16 sendString("c"); 17 synthesizeKey("KEY_ArrowUp"); 18 synthesizeKey("KEY_End"); 19 sendString("b"); 20 document.documentElement.removeAttribute("class"); 21 }, 0); 22 } 23 </script> 24 </body> 25 </html>