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