summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/431086-1.xhtml
blob: c6c5d8d99271122193592dac377e12ba85945b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div xmlns="http://www.w3.org/1999/xhtml">

<script type="text/javascript">

function boom()
{
  var r = document.documentElement;
  r.style.position = "absolute";
  r.contentEditable = "true";
  r.focus();
  r.contentEditable = "false";
  r.focus();
  r.contentEditable = "true";
  document.execCommand("subscript", false, null);
  r.contentEditable = "false";
}

window.addEventListener("load", boom, false);

</script>

</div>