summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1402469.html
blob: 06583acb8b5b949d38d35f2223ae4c8e8d047fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<script>
function onLoad() {
  // For emulating the traditional behavior, collapse Selection to end of the
  // text node at end of the <body>.
  getSelection().collapse(
    document.body.lastChild,
    document.body.lastChild.length
  );
  document.execCommand("insertUnorderedList");
}
</script>
</head>
<body onload="onLoad()">
<table>
  <th contenteditable>
    <ol contenteditable>
  </th>
</table>
</body>
</html>