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
);
20 <body contenteditable=
"true" onload=
"boom();"></body>