summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/475132-1.xhtml
blob: e721c556394e6483d54f4fc3520bea4071be58b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function onLoad() {
  document.querySelector("td").contentEditable = "true";
  getSelection().collapse(
    document.querySelector("td"),
    document.querySelector("td").childNodes.length
  );
  document.querySelector("td").focus();
  document.documentElement.contentEditable = "true";
  document.documentElement.focus();
  document.execCommand("indent");
  document.execCommand("insertParagraph");
}
</script>
</head>

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

</html>