Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/printing/multicol-2-pages.html |
| diff --git a/third_party/WebKit/LayoutTests/printing/multicol-2-pages.html b/third_party/WebKit/LayoutTests/printing/multicol-2-pages.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0835328e13ec975e984c759e433bb43651ce5a24 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/printing/multicol-2-pages.html |
| @@ -0,0 +1,38 @@ |
| +<!DOCTYPE html> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.setPrinting(); |
| +if (window.internals) |
| + internals.settings.setShouldPrintBackgrounds(true); |
| +</script> |
| +<!-- TODO(mstensho): Try to come up with something that doesn't make assumptions about page |
| + height. Currently, there's no way of specifying it for layout tests. This test currently |
| + assumes that 5 lines will fit in each column on the first page, and the remaining ones on the |
|
leviw_travelin_and_unemployed
2015/12/08 19:00:55
D'oh :( We could add a testRunner feature to enabl
mstensho (USE GERRIT)
2015/12/08 20:09:12
Uh... yeah, I'd like that. I actually tried to jus
|
| + next page. --> |
| +<p>There should be three columns in this document - on this page, and on the next page. The numbers |
| + should be in ascending order when reading columns from left to right, page by page.</p> |
| +<div style="-webkit-columns:3; -webkit-column-gap:11px; -webkit-column-rule:3px solid hotpink; width:622px; font-size:112px; background:papayawhip;"> |
| + 01<br> |
| + 02<br> |
| + 03<br> |
| + 04<br> |
| + 05<br> |
| + 06<br> |
| + 07<br> |
| + 08<br> |
| + 09<br> |
| + 10<br> |
| + 11<br> |
| + 12<br> |
| + 13<br> |
| + 14<br> |
| + 15<br> |
| + 16<br> |
| + 17<br> |
| + 18<br> |
| + 19<br> |
| + 20<br> |
| + 21<br> |
| + 22<br> |
| + 23<br> |
| +</div> |