Chromium Code Reviews| Index: LayoutTests/fast/pagination/body-make-paginated.html |
| diff --git a/LayoutTests/fast/pagination/body-make-paginated.html b/LayoutTests/fast/pagination/body-make-paginated.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1fa95c0c1bca25205a9ae4ff9807606061840f5e |
| --- /dev/null |
| +++ b/LayoutTests/fast/pagination/body-make-paginated.html |
| @@ -0,0 +1,19 @@ |
| +<!DOCTYPE html> |
| +<html> |
| + <head> |
| + <title>Dynamically set paged overflow on the body element</title> |
| + <script> |
| + function test() { |
| + document.body.offsetWidth; // trigger layout |
|
ojan
2014/02/08 01:40:19
Nit: I've lately been encouraging people to use of
mstensho (USE GERRIT)
2014/02/11 10:44:14
Done. In this case it doesn't really matter, no, b
|
| + document.body.style.overflow = '-webkit-paged-x'; |
| + document.body.style.overflow = 'paged-x'; |
| + } |
| + </script> |
| + </head> |
| + <body onload="test()"> |
| + <div style="height:150vh;"> |
| + There should be no text below. |
| + <div style="-webkit-column-break-before:always;">FAIL</div> |
| + </div> |
| + </body> |
| +</html> |