Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: third_party/WebKit/LayoutTests/printing/multicol-2-pages-expected.html

Issue 1492143002: Add support for printing multicol containers, and enable it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .fakeColumn { float:left; width:200px; }
4 .fakeColumn:not(:first-child) { padding-left:4px; }
5 .fakeColumn:not(:last-child) { border-right:3px solid hotpink; padding-right :4px; }
6 </style>
7 <script>
8 if (window.testRunner)
9 testRunner.setPrinting();
10 if (window.internals)
11 internals.settings.setShouldPrintBackgrounds(true);
12 </script>
13 <!-- TODO(mstensho): Try to come up with something that doesn't make assumptions about page
14 height. Currently, there's no way of specifying it for layout tests. This t est currently
15 assumes that 5 lines will fit in each column on the first page, and the rem aining ones on the
16 next page. -->
17 <p>There should be three columns in this document - on this page, and on the nex t page. The numbers
18 should be in ascending order when reading columns from left to right, page b y page.</p>
19 <div style="width:622px; font-size:112px; background:papayawhip;">
20 <div>
21 <div class="fakeColumn">
22 01<br>
23 02<br>
24 03<br>
25 04<br>
26 05<br>
27 16<br>
28 17<br>
29 18<br>
30 </div>
31 <div class="fakeColumn">
32 06<br>
33 07<br>
34 08<br>
35 09<br>
36 10<br>
37 19<br>
38 20<br>
39 21<br>
40 </div>
41 <div class="fakeColumn">
42 11<br>
43 12<br>
44 13<br>
45 14<br>
46 15<br>
47 22<br>
48 23<br>
49 </div>
50 </div>
51 <div style="clear:both;"></div>
52 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698