2 .c1 { display: table; }
3 .c1::after { position: fixed; content: counter(section); }
4 .c2 { display: table-caption; float: left; }
7 var node
= document
.createElement('q');
9 function changeQClass() {
10 node
.setAttribute('class', 'c1');
11 setTimeout("appendQ();", 10);
15 document
.getElementById('positionedDiv').appendChild(node
);
16 setTimeout("navigateAway();");
19 function navigateAway() {
20 // Bug only manifests on document destruction
21 window
.location
="positioned-div-with-floating-after-content-crash-frame2.html";
25 setTimeout("changeQClass();", 10);
27 window
.onload
= runTest
;
29 <div class=
"c2"><textarea></textarea></div>
30 <div id=
"positionedDiv" class=
"c1">FAIL
</div>
31 <div class=
"c2"></div>