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