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

Side by Side Diff: LayoutTests/fast/multicol/float-not-removed-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:nth-child(-n+6) { float: left; padding-bottom: 100px; }
6 .class2:nth-child(even) { -webkit-backface-visibility: hidden; -webkit-column-sp an: all; }
7 .class3 { -webkit-column-count: 65536; }
8 </style>
9 <script>
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
13 }
14
15 function crash() {
16 test1 = document.createElement('div');
17 test2 = document.createElement('div');
18 test3 = document.createElement('div');
19 test3.setAttribute('class', 'class3');
20 document.documentElement.appendChild(test3);
21 test4 = document.createElement('div');
22 test4.setAttribute('class', 'class2');
23 test5 = document.createElement('div');
24 test5.setAttribute('class', 'class1');
25 test6 = document.createElement('div');
26 test7 = document.createElement('i');
27 test8 = document.createTextNode("PASS. WebKit didn't crash.");
28 test6.appendChild(test8);
29 test6.appendChild(test7);
30 test1.appendChild(test6);
31 test3.appendChild(test1);
32 test7.appendChild(test5);
33 document.documentElement.offsetTop;
34 setTimeout('test3.appendChild(test4);', 0);
35 setTimeout('test2.appendChild(test7);', 2);
36 setTimeout('if (window.testRunner) testRunner.notifyDone();', 4);
37 }
38
39 window.onload = crash;
40 </script>
41 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/float-multicol.html ('k') | LayoutTests/fast/multicol/float-not-removed-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698