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

Side by Side Diff: LayoutTests/fast/multicol/multicol-with-spanner-becomes-paged.html

Issue 364233005: [New Multicolumn] Support for paged overflow. (By mstensho). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Run fast/pagination in virtual/regionbasedmulticol. Created 6 years, 5 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 <head> 3 <head>
4 <title>Change multicol to regular block</title>
5 <script> 4 <script>
6 function test() { 5 function test() {
7 var elm = document.getElementById('elm'); 6 var elm = document.getElementById('elm');
8 elm.offsetTop; // trigger layout 7 elm.offsetTop; // trigger layout
9 elm.style.WebkitColumns = 'auto'; 8 elm.style.WebkitColumns = 'auto';
10 elm.style.columns = 'auto'; 9 elm.style.columns = 'auto';
10 elm.style.overflow = '-webkit-paged-x';
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body onload="test()"> 14 <body onload="test()">
15 <p>There should be a blue <em>square</em> below.</p> 15 <p>There should be a blue <em>square</em> below, and no scrollbar.</p>
16 <div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; width:16em; line-height:4em; background:blue;"> 16 <div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; width:16em; line-height:4em; background:blue;">
17 <br> 17 <br>
18 <br> 18 <div style="-webkit-column-span:all; column-span:all; height:4em;">< /div>
19 <br> 19 <br>
20 <br> 20 <br>
21 </div> 21 </div>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/multicol-with-spanner-becomes-paged-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698