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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/clone-block-children-inline-mismatch-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 not crash. 3 Test passes if it does not crash.
4 <style> 4 <style>
5 #div1 { -webkit-column-count: 2; } 5 #div1 { -webkit-column-count: 2; }
6 #q1 { display: block; } 6 #q1 { display: block; }
7 #q1::before { display: table-row; } 7 #q1::before { display: table-row; }
8 #div2 { -webkit-column-span: all; } 8 #div2 { -webkit-column-span: all; }
9 </style> 9 </style>
10 <script> 10 <script>
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 if (window.internals)
14 internals.settings.setRegionBasedColumnsEnabled(true);
13 15
14 function runTest() 16 function runTest()
15 { 17 {
16 div1 = document.createElement('div'); 18 div1 = document.createElement('div');
17 div1.setAttribute('id', 'div1'); 19 div1.setAttribute('id', 'div1');
18 document.body.appendChild(div1); 20 document.body.appendChild(div1);
19 q1 = document.createElement('q'); 21 q1 = document.createElement('q');
20 q1.setAttribute('id', 'q1'); 22 q1.setAttribute('id', 'q1');
21 div1.appendChild(q1); 23 div1.appendChild(q1);
22 div2 = document.createElement('div'); 24 div2 = document.createElement('div');
23 div2.setAttribute('id', 'div2'); 25 div2.setAttribute('id', 'div2');
24 q1.appendChild(div2); 26 q1.appendChild(div2);
25 } 27 }
26 28
27 window.onload = runTest; 29 window.onload = runTest;
28 </script> 30 </script>
29 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698