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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height-expected.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 regular block to multicol</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 = 4; 8 elm.style.WebkitColumns = '4';
10 elm.style.columns = 4; 9 elm.style.columns = '4';
10 elm.style.overflow = 'visible';
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body onload="test()"> 14 <body onload="test()">
15 <p>You should see the word 'PASS' below.</p> 15 <p>You should see the word 'PASS' below.</p>
16 <div style="font-family:monospace; float:left;"> 16 <div style="float:left;">
17 <div id="elm" style="-webkit-column-gap:0; column-gap:0; orphans:1; widows:1;"> 17 <div id="elm" style="overflow:-webkit-paged-x; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1; height:7em; line-height:4em;">
18 P<br> 18 P<br>
19 A<br> 19 A<br>
20 S<br> 20 S<br>
21 S<br> 21 S<br>
22 </div> 22 </div>
23 </div> 23 </div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698