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