summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-margins-not-collapse-expected.html
blob: 1a5cd01fa1261acecc562fd8ca58c758aaf9839e (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<link href="resources/grid.css" rel="stylesheet">

<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>