Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / multicol / remove-child-split-flow-crash.html
blobe01dbb5626ec974d98ae070930b905289301d3c2
1 <!DOCTYPE html>
2 <html>
3 Test passes if it does not crash.
4 <style>
5 .class1 { -webkit-column-span: all; }
6 .class2 { -webkit-column-width: 1px; }
7 .class3 { display: inline-block; }
8 .class4 { section; -webkit-column-span: all; }
9 </style>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 function crash() {
15 i1 = document.createElement('i');
16 document.documentElement.appendChild(i1);
17 i2 = document.createElement('i');
18 i1.appendChild(i2);
19 div1 = document.createElement('div');
20 div2 = document.createElement('div');
21 div2.setAttribute('class', 'class3');
22 i3 = document.createElement('i');
23 div3 = document.createElement('div');
24 div3.setAttribute('class', 'class1');
25 div4 = document.createElement('div');
26 div4.setAttribute('class', 'class4');
27 i2.appendChild(div2);
28 div2.appendChild(div1);
29 div1.appendChild(div4);
30 document.documentElement.offsetTop;
31 div1.setAttribute('class', 'class2');
32 div4.appendChild(div3);
33 document.documentElement.offsetTop;
34 i3.appendChild(div3);
36 window.onload = crash;
37 </script>
38 </html>