| <!DOCTYPE html> |
| <script src="../../resources/check-layout.js"></script> |
| <p>Test that re-laying out a float and at the same time pushing it downwards properly moves it to |
| next column, and that we don't get a residual pagination strut before the second float.</p> |
| <p>There should be a blue square below.</p> |
| <div id="container" style="position:relative; -webkit-columns:2; -webkit-column-gap:0; column-fill:auto; width:80px; height:50px; line-height:20px;"> |
| <span id="newElm" style="display:none;"> |
| <br> |
| </span> |
| <br> |
| <div id="firstFloat" style="float:left; width:30px; background:blue;" data-offset-y="0"> |
| <br> |
| </div> |
| <div style="float:left; width:40px; background:blue;" data-offset-y="20"> |
| <br> |
| </div> |
| </div> |
| <script> |
| document.body.offsetTop; |
| document.getElementById("newElm").style.display = "inline"; |
| document.getElementById("firstFloat").style.paddingLeft = "10px"; |
| checkLayout("#container"); |
| </script> |