Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <html class="reftest-wait"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script> |
michael@0 | 4 | </head> |
michael@0 | 5 | <body onload="start()"> |
michael@0 | 6 | <textarea dir="rtl" onfocus="typeIntoMe()" style="-moz-appearance: none"></textarea> |
michael@0 | 7 | <script> |
michael@0 | 8 | function start() { |
michael@0 | 9 | document.querySelector("textarea").focus(); |
michael@0 | 10 | } |
michael@0 | 11 | function typeIntoMe() { |
michael@0 | 12 | setTimeout(function() { |
michael@0 | 13 | synthesizeKey("s", {}); |
michael@0 | 14 | synthesizeKey("VK_DOWN", {}); |
michael@0 | 15 | synthesizeKey("VK_DOWN", {}); |
michael@0 | 16 | document.documentElement.removeAttribute("class"); |
michael@0 | 17 | }, 0); |
michael@0 | 18 | } |
michael@0 | 19 | </script> |
michael@0 | 20 | </body> |
michael@0 | 21 | </html> |