OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <p>A block that follows a block with -webkit-column-break-after:always; should b
e positioned at the |
| 3 *top* of the *next* column. Margins may need to be ignored to achieve this.<
/p> |
| 4 <div id="mc" style="-webkit-column-count:2; column-fill:auto; width:100px; heigh
t:200px;"> |
| 5 <div style="height:150px; margin-bottom:150px; -webkit-column-break-after:al
ways;"></div> |
| 6 <div id="child" style="height:100px;"></div> |
| 7 </div> |
| 8 <div id="console"></div> |
| 9 <script src="../../resources/js-test.js"></script> |
| 10 <script> |
| 11 var mc = document.getElementById('mc'); |
| 12 var child = document.getElementById('child'); |
| 13 shouldBe("child.offsetLeft + child.offsetWidth", "mc.offsetLeft + mc.offsetW
idth"); |
| 14 shouldBe("child.offsetTop", "mc.offsetTop"); |
| 15 </script> |
OLD | NEW |