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:70px; line-height:20px;"> | |
7 <span id="newElm" style="display:none;"> | |
8 <br> | |
9 </span> | |
10 <br> | |
11 <br> | |
leviw_travelin_and_unemployed
2015/10/06 10:54:02
Are both of these br's necessary?
mstensho (USE GERRIT)
2015/10/06 11:31:11
One is actually enough. Fixed.
| |
12 <div id="firstFloat" style="float:left; width:30px; background:blue;" data-o ffset-y="0"> | |
13 <br> | |
14 </div> | |
15 <div style="float:left; width:40px; background:blue;" data-offset-y="20"> | |
16 <br> | |
17 </div> | |
18 </div> | |
19 <script> | |
20 document.body.offsetTop; | |
21 document.getElementById("newElm").style.display = "inline"; | |
22 document.getElementById("firstFloat").style.paddingLeft = "10px"; | |
23 checkLayout("#container"); | |
24 </script> | |
OLD | NEW |