editor/libeditor/html/crashtests/766795.html

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:149523c54788
1 <html>
2 <head>
3 <script>
4
5 function boom()
6 {
7 var fragEl = document.createElement("span");
8 fragEl.setAttribute("contenteditable", "true");
9 fragEl.setAttribute("style", "position: absolute;");
10
11 var frag = document.createDocumentFragment();
12 frag.appendChild(fragEl);
13
14 window.getSelection().selectAllChildren(fragEl);
15 }
16
17 </script>
18 </head>
19
20 <body contenteditable="true" onload="boom();"></body>
21 </html>

mercurial