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

Unified Diff: LayoutTests/fast/pagination/html-make-unpaginated.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-unpaginated.html
diff --git a/LayoutTests/fast/pagination/html-make-unpaginated.html b/LayoutTests/fast/pagination/html-make-unpaginated.html
new file mode 100644
index 0000000000000000000000000000000000000000..db68d97209824a3094c853a585a0be1aeb2f29ba
--- /dev/null
+++ b/LayoutTests/fast/pagination/html-make-unpaginated.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html style="overflow:-webkit-paged-x; overflow:paged-x;">
+ <head>
+ <title>Dynamically remove paged overflow on the root element</title>
+ <script>
+ function test() {
+ document.body.offsetWidth; // trigger layout
+ document.documentElement.style.overflow = 'auto';
+ }
+ </script>
+ </head>
+ <body onload="test()">
+ <div style="height:150vh;">
+ The word 'PASS' should be seen below.
+ <div style="-webkit-column-break-before:always;">PASS</div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698