| <!DOCTYPE html> |
| <style> |
| body { overflow:hidden; } /* Avoid triggering a second layout pass, as that might hide bugs. */ |
| .table { display:table; width:100%; } |
| .row { display:table-row; break-inside:avoid; } |
| .row > div { width:100%; height:60px; background:blue; } |
| </style> |
| <p>There should be six blue squares below. They should ideally be |
| perfectly vertically aligned, but since Blink doesn't support |
| subpixel rendering inside tables, off-by-one is acceptable. But |
| there should be no blue lines below the squares.</p> |
| <div id="multicol" style="position:relative; width:410px; columns:6; column-fill:auto; column-gap:10px; height:88.7px;"> |
| <div class="table"> |
| <div class="row"> |
| <div data-offset-x="0"></div> |
| </div> |
| <div class="row"> |
| <div data-offset-x="70"></div> |
| </div> |
| <div class="row"> |
| <div data-offset-x="140"></div> |
| </div> |
| <div class="row"> |
| <div data-offset-x="210"></div> |
| </div> |
| <div class="row"> |
| <div data-offset-x="280"></div> |
| </div> |
| <div class="row"> |
| <div data-offset-x="350"></div> |
| </div> |
| </div> |
| </div> |
| |
| <script src="../resources/check-layout.js"></script> |
| <script> |
| checkLayout("#multicol"); |
| </script> |