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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/html-make-unpaginated.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 style="overflow:-webkit-paged-x; overflow:paged-x;"> 2 <html style="overflow:-webkit-paged-x; overflow:paged-x;">
3 <head> 3 <head>
4 <script>
5 if (window.internals)
6 internals.settings.setRegionBasedColumnsEnabled(true);
7 </script>
4 <title>Dynamically remove paged overflow on the root element</title> 8 <title>Dynamically remove paged overflow on the root element</title>
5 <script> 9 <script>
6 function test() { 10 function test() {
7 document.body.offsetTop; // trigger layout 11 document.body.offsetTop; // trigger layout
8 document.documentElement.style.overflow = 'auto'; 12 document.documentElement.style.overflow = 'auto';
9 } 13 }
10 </script> 14 </script>
11 </head> 15 </head>
12 <body onload="test()"> 16 <body onload="test()">
13 <div style="height:150vh;"> 17 <div style="height:150vh;">
14 The word 'PASS' should be seen below. 18 The word 'PASS' should be seen below.
15 <div style="-webkit-column-break-before:always;">PASS</div> 19 <div style="-webkit-column-break-before:always;">PASS</div>
16 </div> 20 </div>
17 </body> 21 </body>
18 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698