layout/base/tests/bug646382-2-ref.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <html class="reftest-wait">
     2   <body onload="start()">
     3     <textarea dir="rtl" onfocus="done()" style="-moz-appearance: none">s</textarea>
     4     <script>
     5       var textarea = document.querySelector("textarea");
     6       function start() {
     7         textarea.focus();
     8       }
     9       function done() {
    10         textarea.selectionStart = textarea.selectionEnd = 0;
    11         document.documentElement.removeAttribute("class");
    12       }
    13     </script>
    14   </body>
    15 </html>

mercurial