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

Side by Side Diff: LayoutTests/fast/multicol/break-properties.html

Issue 25687002: Add support for the column-fill property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Put changes to problematic files (for the bots) back in. Created 7 years, 2 months 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
1 <style> 1 <style>
2 div.box { -webkit-box-sizing: border; border: solid blue; } 2 div.box { -webkit-box-sizing: border; border: solid blue; }
3 div.shorter { height: 54px; } 3 div.shorter { height: 54px; }
4 div.taller { height: 72px; } 4 div.taller { height: 72px; }
5 </style> 5 </style>
6 <div style="height: 100px; width: 630; -webkit-column-gap: 5px; -webkit-columns: 6;"> 6 <div style="height: 100px; width: 630; -webkit-columns:6; -webkit-column-gap:5px ; columns:6; column-gap:5px;">
7 <div class="taller box"></div> 7 <div class="taller box"></div>
8 <div class="taller box"></div> 8 <div class="taller box"></div>
9 <div id="break-before" class="shorter box" style="-webkit-column-break-befor e: always;"></div> 9 <div id="break-before" class="shorter box" style="-webkit-column-break-befor e: always;"></div>
10 <div class="shorter box" style="-webkit-column-break-after: always;"></div> 10 <div class="shorter box" style="-webkit-column-break-after: always;"></div>
11 <div id="after-break" class="shorter box"></div> 11 <div id="after-break" class="shorter box"></div>
12 <div id="no-break" class="shorter box" style="-webkit-column-break-inside: a void;"></div> 12 <div id="no-break" class="shorter box" style="-webkit-column-break-inside: a void;"></div>
13 </div> 13 </div>
14 <pre id="console"></pre> 14 <pre id="console"></pre>
15 <script> 15 <script>
16 if (window.testRunner) 16 if (window.testRunner)
(...skipping 10 matching lines...) Expand all
27 if (Math.round(rect.left) === expectedLeft && Math.round(rect.top) === e xpectedTop) 27 if (Math.round(rect.left) === expectedLeft && Math.round(rect.top) === e xpectedTop)
28 log("PASS: '" + id + "' is at (" + expectedLeft + ", " + expectedTop + ")"); 28 log("PASS: '" + id + "' is at (" + expectedLeft + ", " + expectedTop + ")");
29 else 29 else
30 log("FAIL: '" + id + "' is at (" + Math.round(rect.left) + ", " + Ma th.round(rect.top) + ") instead of (" + expectedLeft + " ," + expectedTop + ")") ; 30 log("FAIL: '" + id + "' is at (" + Math.round(rect.left) + ", " + Ma th.round(rect.top) + ") instead of (" + expectedLeft + " ," + expectedTop + ")") ;
31 } 31 }
32 32
33 testBoxPosition("break-before", 220, 8); 33 testBoxPosition("break-before", 220, 8);
34 testBoxPosition("after-break", 431, 8); 34 testBoxPosition("after-break", 431, 8);
35 testBoxPosition("no-break", 537, 8); 35 testBoxPosition("no-break", 537, 8);
36 </script> 36 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/line-grid/line-grid-into-columns.html ('k') | LayoutTests/fast/multicol/cell-shrinkback.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698