layout/base/tests/bug613433-3.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3   <head>
     4     <style>
     5       div {
     6         min-height: 36px;
     7         overflow: 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