1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/tests/bug613433-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <head> 1.7 + <style> 1.8 + div { 1.9 + min-height: 36px; 1.10 + overflow-y: auto; 1.11 + } 1.12 + </style> 1.13 + <script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script> 1.14 + <script> 1.15 + function test() { 1.16 + document.querySelector("div").focus(); 1.17 + // type a character, then press backspace to delete it 1.18 + sendChar("X"); 1.19 + sendKey("BACK_SPACE"); 1.20 + document.documentElement.removeAttribute("class"); 1.21 + } 1.22 + </script> 1.23 + </head> 1.24 + <body onload="test()"> 1.25 + <div id="div1" contenteditable></div> 1.26 + </body> 1.27 +</html>