OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/check-layout.js"></script> |
| 3 <p>Test that space is reserved for the top margin of a float that is pushed to t
he next column. It |
| 4 gets pushed to next column because it's unbreakable and too tall to fit at i
ts designated |
| 5 position in the first column.</p> |
| 6 <p>There should be a blue rectangle below.</p> |
| 7 <div id="test" style="position:relative; -webkit-columns:3; -webkit-column-gap:0
; column-fill:auto; width:150px; height:90px; line-height:20px;"> |
| 8 <div style="margin-top:5px; margin-bottom:15px; height:40px; background:blue
;"></div> |
| 9 <div data-offset-y="5" style="float:left; width:100%; margin-top:5px; -webki
t-column-break-inside:avoid; background:blue;"> |
| 10 <div data-offset-y="5"> |
| 11 <br><br> |
| 12 </div> |
| 13 </div> |
| 14 </div> |
| 15 <script> |
| 16 checkLayout("#test"); |
| 17 </script> |
OLD | NEW |