summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1274050.html
blob: 5b7a5613ef4c3c775c0fc6bec1bcce943557fc12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<body>
<table contenteditable></table>
</body>
<script>
window.onload = function() {
  // 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("styleWithCSS", false, false);
  document.designMode = "on";
  document.execCommand("insertUnorderedList");
  document.execCommand("justifyFull");
};
</script>