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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/table-multi-column-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 <script>
4 if (window.internals)
5 internals.settings.setRegionBasedColumnsEnabled(true);
6 </script>
3 <body> 7 <body>
4 Test passes if it does not crash. 8 Test passes if it does not crash.
5 <style> 9 <style>
6 .table_span { -webkit-column-span: all;} 10 .table_span { -webkit-column-span: all;}
7 .table_container { -webkit-column-count: 2; } 11 .table_container { -webkit-column-count: 2; }
8 </style> 12 </style>
9 <script> 13 <script>
10 if (window.testRunner) 14 if (window.testRunner)
11 testRunner.dumpAsText(); 15 testRunner.dumpAsText();
12 16
13 document.body.offsetTop; 17 document.body.offsetTop;
14 table_span = document.createElement('table'); 18 table_span = document.createElement('table');
15 table_span.setAttribute('class', 'table_span'); 19 table_span.setAttribute('class', 'table_span');
16 table_container = document.createElement('table'); 20 table_container = document.createElement('table');
17 table_container.setAttribute('class', 'table_container'); 21 table_container.setAttribute('class', 'table_container');
18 table_caption = document.createElement('caption'); 22 table_caption = document.createElement('caption');
19 table_caption.appendChild(table_span); 23 table_caption.appendChild(table_span);
20 table_container.appendChild(table_caption); 24 table_container.appendChild(table_caption);
21 document.body.appendChild(table_container); 25 document.body.appendChild(table_container);
22 document.body.offsetTop; 26 document.body.offsetTop;
23 27
24 table_caption.parentNode.removeChild(table_caption); 28 table_caption.parentNode.removeChild(table_caption);
25 </script> 29 </script>
26 </body> 30 </body>
27 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698