summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/475132-1.xhtml
blob: 8b4dd688ce0f69ec892d1a108b2d4693d03d3070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">

function boom()
{
  document.getElementsByTagName("td")[0].contentEditable = "true";
  document.getElementsByTagName("td")[0].focus();
  document.documentElement.contentEditable = "true";
  document.documentElement.focus();
  document.execCommand("indent", false, null);
  document.execCommand("insertParagraph", false, null);
}

</script>
</head>

<body onload="boom();" contenteditable="false"><td></td></body>

</html>