OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/check-layout.js"></script> |
| 3 <p>Test that re-laying out a float and at the same time pushing it downwards pro
perly moves it to |
| 4 next column, and that we don't get a residual pagination strut before the se
cond float.</p> |
| 5 <p>There should be a blue square below.</p> |
| 6 <div id="container" style="position:relative; -webkit-columns:2; -webkit-column-
gap:0; column-fill:auto; width:80px; height:50px; line-height:20px;"> |
| 7 <span id="newElm" style="display:none;"> |
| 8 <br> |
| 9 </span> |
| 10 <br> |
| 11 <div id="firstFloat" style="float:left; width:30px; background:blue;" data-o
ffset-y="0"> |
| 12 <br> |
| 13 </div> |
| 14 <div style="float:left; width:40px; background:blue;" data-offset-y="20"> |
| 15 <br> |
| 16 </div> |
| 17 </div> |
| 18 <script> |
| 19 document.body.offsetTop; |
| 20 document.getElementById("newElm").style.display = "inline"; |
| 21 document.getElementById("firstFloat").style.paddingLeft = "10px"; |
| 22 checkLayout("#container"); |
| 23 </script> |
OLD | NEW |