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

Side by Side Diff: LayoutTests/fast/pagination/html-make-paginated.html

Issue 157553002: Remove the Pagination struct, clean up viewport scroll policy propagation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Dynamically set paged overflow on the root element</title>
5 <script>
6 function test() {
7 document.body.offsetWidth; // trigger layout
8 document.documentElement.style.overflow = '-webkit-paged-x';
9 document.documentElement.style.overflow = 'paged-x';
10 }
11 </script>
12 </head>
13 <body onload="test()">
14 <div style="height:150vh;">
15 There should be no text below.
16 <div style="-webkit-column-break-before:always;">FAIL</div>
17 </div>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698