Bug 1686495 [wpt PR 27132] - Add tests for proposed WebDriver Shadow DOM support...
[gecko.git] / editor / libeditor / crashtests / 766795.html
blobb4ade30209471c6328e94481dec9d26b08b60099
1 <html>
2 <head>
3 <script>
5 function boom()
7 var fragEl = document.createElement("span");
8 fragEl.setAttribute("contenteditable", "true");
9 fragEl.setAttribute("style", "position: absolute;");
11 var frag = document.createDocumentFragment();
12 frag.appendChild(fragEl);
14 window.getSelection().selectAllChildren(fragEl);
17 </script>
18 </head>
20 <body contenteditable="true" onload="boom();"></body>
21 </html>