<!DOCTYPE html> | |
<div>This test checks that grid item's margins do not collapse with its content's margins (single margin in the first row and double between subsequent).</div> | |
<div style="float: left"> | |
<div><p margin="20px 0px">XXXXX</p></div> | |
<div style="float: left; margin:20px 0px;">XXXXX</div> | |
<div><p style="float: left;" margin="20px 0px">XXXXX</p></div> | |
</div> |