Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / resources / positioned-div-with-floating-after-content-crash-frame1.html
blob5d5524a05a38c8402acbbf4b1f2c063d20e126cf
1 <style>
2 .c1 { display: table; }
3 .c1::after { position: fixed; content: counter(section); }
4 .c2 { display: table-caption; float: left; }
5 </style>
6 <script>
7 var node = document.createElement('q');
9 function changeQClass() {
10 node.setAttribute('class', 'c1');
11 setTimeout("appendQ();", 10);
14 function appendQ() {
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";
24 function runTest() {
25 setTimeout("changeQClass();", 10);
27 window.onload = runTest;
28 </script>
29 <div class="c2"><textarea></textarea></div>
30 <div id="positionedDiv" class="c1">FAIL</div>
31 <div class="c2"></div>