1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/libeditor/html/crashtests/431086-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<div xmlns="http://www.w3.org/1999/xhtml"> 1.5 + 1.6 +<script type="text/javascript"> 1.7 + 1.8 +function boom() 1.9 +{ 1.10 + var r = document.documentElement; 1.11 + r.style.position = "absolute"; 1.12 + r.contentEditable = "true"; 1.13 + r.focus(); 1.14 + r.contentEditable = "false"; 1.15 + r.focus(); 1.16 + r.contentEditable = "true"; 1.17 + document.execCommand("subscript", false, null); 1.18 + r.contentEditable = "false"; 1.19 +} 1.20 + 1.21 +window.addEventListener("load", boom, false); 1.22 + 1.23 +</script> 1.24 + 1.25 +</div>