Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: LayoutTests/fast/multicol/remove-child-split-flow-crash.html

Issue 299373006: Move old multicol tests to a separate directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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();
13
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);
35 }
36 window.onload = crash;
37 </script>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698