Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / floats-not-cleared-from-grand-parents.html
blob3f2d33e5305769556a5c05e74f454dff61e48670
1 <html>
2 <body onload="runTest();">
3 Test passes if it does not crash.
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 function runTest() {
9 span0 = document.createElement('span');
10 document.documentElement.appendChild(span0);
12 span1 = document.createElement('span');
13 span0.appendChild(span1);
15 span2 = document.createElement('span');
16 span2.style.float = 'left';
17 span2.appendChild(document.createTextNode('a'));
18 span0.appendChild(span2);
20 div = document.createElement('div');
21 span1.appendChild(div);
23 document.body.offsetTop;
25 li = document.createElement('li');
26 li.style.position = 'fixed';
27 span1.appendChild(li);
29 document.body.offsetTop;
31 span3 = document.createElement('span');
32 span3.appendChild(span0);
34 </script>
35 </body>
36 </html>