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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/split-flow-anonymous-wrapper-crash.html

Issue 296413007: [New Multicolumn] Add support for column-span:all (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@359976
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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 Test passes if it does crash. 3 Test passes if it does crash.
4 <style> 4 <style>
5 .b1 { display: block; -webkit-column-width: 100px; } 5 .b1 { display: block; -webkit-column-width: 100px; }
6 .d1 { -webkit-column-span: all; } 6 .d1 { -webkit-column-span: all; }
7 </style> 7 </style>
8 <script> 8 <script>
9 if (window.internals)
10 internals.settings.setRegionBasedColumnsEnabled(true);
9 if (window.testRunner) 11 if (window.testRunner)
10 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
11 13
12 function runTest() { 14 function runTest() {
13 div1 = document.createElement('div'); 15 div1 = document.createElement('div');
14 div1.setAttribute('class', 'd1'); 16 div1.setAttribute('class', 'd1');
15 button1 = document.createElement('button'); 17 button1 = document.createElement('button');
16 button1.setAttribute('class', 'b1'); 18 button1.setAttribute('class', 'b1');
17 document.documentElement.appendChild(button1); 19 document.documentElement.appendChild(button1);
18 document.documentElement.offsetTop; 20 document.documentElement.offsetTop;
19 button1.appendChild(div1); 21 button1.appendChild(div1);
20 document.documentElement.offsetTop; 22 document.documentElement.offsetTop;
21 document.documentElement.innerHTML = "PASS"; 23 document.documentElement.innerHTML = "PASS";
22 } 24 }
23 window.onload = runTest; 25 window.onload = runTest;
24 </script> 26 </script>
25 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698