blob: e5d4adfdda27ae4739c9cb87d8f0a3d1b8a4db86 [file] [log] [blame]
<!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="display: grid;">
<div><p margin="20px 0px">XXXXX</p></div>
<div style="margin:20px 0px;">XXXXX</div>
<div><p margin="20px 0px">XXXXX</p></div>
</div>