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

Unified Diff: LayoutTests/fast/pagination/paged-x-to-paged-y.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: Rebase master 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/paged-x-to-paged-y.html
diff --git a/LayoutTests/fast/pagination/paged-x-to-paged-y.html b/LayoutTests/fast/pagination/paged-x-to-paged-y.html
new file mode 100644
index 0000000000000000000000000000000000000000..27881aba9128c999890ce9a583ab1e2b8b8018e5
--- /dev/null
+++ b/LayoutTests/fast/pagination/paged-x-to-paged-y.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Changing from paged-x to paged-y</title>
+ <script>
+ function test() {
+ document.body.offsetTop; // trigger layout
+ document.body.style.overflow = 'paged-y';
+ document.body.style.overflow = '-webkit-paged-y';
+ }
+ </script>
+ </head>
+ <body style="overflow:-webkit-paged-x; overflow:paged-x;" onload="test()">
+ <div style="height:150vh;">
+ There should be a vertical scrollbar on this page.
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698