4 body:first-letter { position: fixed; float: inherit; }
5 #target { display: none; }
10 Test passes if it does not CRASH.
11 <span id=
"line"></span>
16 if (window
.testRunner
)
17 testRunner
.dumpAsText();
19 document
.body
.insertBefore(target
, document
.body
.lastChild
);
21 target
.addEventListener('DOMNodeRemovedFromDocument', function() {
22 var range
= document
.createRange();
23 range
.selectNodeContents(target
);
24 document
.body
.appendChild(range
.extractContents());
26 target
.insertAdjacentHTML('beforebegin', 'A');
29 target
.parentElement
.normalize();
32 document
.write('Text');
34 line
.getBoundingClientRect();
35 document
.body
.appendChild(target
);