bug1007067-1-ref.html (664B)
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">----------------------------------------- 8 {insert newline before opening bracket}-----------------------------------b</textarea> 9 <select><option value="AED">AED - United Arab Emirates Dirham - د.إ</option></select> 10 <script> 11 function start() { 12 var input = document.querySelector("textarea"); 13 input.selectionStart = 42 14 input.selectionEnd = 42 15 input.focus(); 16 document.documentElement.removeAttribute("class"); 17 } 18 </script> 19 </body> 20 </html>