layout/base/tests/bug613433-2.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         overflow-y: auto;
     8       }
     9     </style>
    10     <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
    11     <script>
    12       function test() {
    13         document.querySelector("div").focus();
    14         // type a character, then press backspace to delete it
    15         sendChar("X");
    16         sendKey("BACK_SPACE");
    17         document.documentElement.removeAttribute("class");
    18       }
    19     </script>
    20   </head>
    21   <body onload="test()">
    22     <div id="div1" contenteditable></div>
    23   </body>
    24 </html>

mercurial