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