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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/pagination/html-make-paginated.html
diff --git a/LayoutTests/fast/pagination/html-make-paginated.html b/LayoutTests/fast/pagination/html-make-paginated.html
new file mode 100644
index 0000000000000000000000000000000000000000..5fe5e18c7703281619bab35bee033a9d236678ed
--- /dev/null
+++ b/LayoutTests/fast/pagination/html-make-paginated.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Dynamically set paged overflow on the root element</title>
+ <script>
+ function test() {
+ document.body.offsetWidth; // trigger layout
+ document.documentElement.style.overflow = '-webkit-paged-x';
+ document.documentElement.style.overflow = 'paged-x';
+ }
+ </script>
+ </head>
+ <body onload="test()">
+ <div style="height:150vh;">
+ There should be no text below.
+ <div style="-webkit-column-break-before:always;">FAIL</div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698