Index: LayoutTests/fast/pagination/div-make-unpaginated.html |
diff --git a/LayoutTests/fast/pagination/div-make-unpaginated.html b/LayoutTests/fast/pagination/div-make-unpaginated.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d1ecfc01b062645c2da83401a3fc2248db784c84 |
--- /dev/null |
+++ b/LayoutTests/fast/pagination/div-make-unpaginated.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Dynamically remove paged overflow on a DIV element</title> |
+ <script> |
+ function test() { |
+ document.body.offsetTop; // trigger layout |
+ document.getElementById('elm').style.overflow = 'visible'; |
+ } |
+ </script> |
+ </head> |
+ <body onload="test()"> |
+ <div id="elm" style="width:30em; height:10em; overflow:-webkit-paged-x; overflow:paged-x;"> |
+ The word 'PASS' should be seen below. |
+ <div style="margin-top:10em;">PASS</div> |
+ </div> |
+ </body> |
+</html> |