bug1007067-1.html (725B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <meta charset="utf-8"> 5 </head> 6 <body onload="start()"> 7 <textarea style="width:500px; height: 200px; border-width:0">-----------------------------------------{insert newline before opening bracket}-----------------------------------b</textarea> 8 <select><option value="AED">AED - United Arab Emirates Dirham - د.إ</option></select> 9 <script> 10 function start() { 11 var input = document.querySelector("textarea"); 12 input.selectionStart = 41 13 input.selectionEnd = 41 14 input.focus(); 15 window.parent.synthesizeKey("VK_RETURN", { }, window) 16 document.documentElement.removeAttribute("class"); 17 } 18 </script> 19 </body> 20 </html>