layout/base/tests/bug613433-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 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <head>
     4     <style>
     5       div {
     6         min-height: 36px;
     7       }
     8     </style>
     9     <script>
    10       function test() {
    11         document.querySelector("div").focus();
    12       }
    13       function focusTriggered() {
    14         document.documentElement.removeAttribute("class");
    15       }
    16     </script>
    17   </head>
    18   <body onload="test()">
    19     <div contenteditable onfocus="focusTriggered()"></div>
    20   </body>
    21 </html>

mercurial