OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 body { overflow:hidden; } /* Avoid triggering a second layout pass, as that migh
t hide bugs. */ |
| 4 .table { display:table; width:100%; } |
| 5 .row { display:table-row; break-inside:avoid; } |
| 6 .row > div { width:100%; height:60px; background:blue; } |
| 7 </style> |
| 8 <p>There should be six blue squares below. They should ideally be |
| 9 perfectly vertically aligned, but since Blink doesn't support |
| 10 subpixel rendering inside tables, off-by-one is acceptable. But |
| 11 there should be no blue lines below the squares.</p> |
| 12 <div id="multicol" style="position:relative; width:410px; columns:6; column-fill
:auto; column-gap:10px; height:88.7px;"> |
| 13 <div class="table"> |
| 14 <div class="row"> |
| 15 <div data-offset-x="0"></div> |
| 16 </div> |
| 17 <div class="row"> |
| 18 <div data-offset-x="70"></div> |
| 19 </div> |
| 20 <div class="row"> |
| 21 <div data-offset-x="140"></div> |
| 22 </div> |
| 23 <div class="row"> |
| 24 <div data-offset-x="210"></div> |
| 25 </div> |
| 26 <div class="row"> |
| 27 <div data-offset-x="280"></div> |
| 28 </div> |
| 29 <div class="row"> |
| 30 <div data-offset-x="350"></div> |
| 31 </div> |
| 32 </div> |
| 33 </div> |
| 34 |
| 35 <script src="../resources/check-layout.js"></script> |
| 36 <script> |
| 37 checkLayout("#multicol"); |
| 38 </script> |
OLD | NEW |