| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>This tests that paginated lines are painting properly when line is taller than the font.</title> |
| <style> |
| html { |
| overflow: hidden; |
| } |
| div { |
| column-fill: auto; |
| font-size: 20px; |
| line-height: 50px; |
| width: 50px; |
| } |
| </style> |
| </head> |
| <body> |
| <div> |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| foobar |
| </div> |
| <script> |
| if (window.internals) |
| internals.setPagination("LeftToRightPaginated", 0); |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| |
| setTimeout(function() { |
| window.scrollTo(1600, 0); |
| document.body.offsetHeight; |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }, 0); |
| </script> |
| </body> |
| </html> |