Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / editor / libeditor / crashtests / 1574544.html
blob26b2fee5ffb8f54e11045aa82baa195eaa4524db
1 <style>
2 * { display: table-caption }
3 body { display: contents }
4 </style>
5 <script>
6 function onLoad() {
7 // For emulating the traditional behavior, collapse Selection to end of the
8 // text node in the <th> which is the deepest last child of the <body>.
9 const th = document.querySelector("th");
10 getSelection().collapse(th.lastChild, th.lastChild.length);
11 document.execCommand("enableInlineTableEditing");
13 </script>
14 <body onload="onLoad()">
15 <table contenteditable>
16 <th>
17 </th></table></body>