summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-1-ref.html
blob: 6a7862c9acb626a72fda6138fdabd05a37e865ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
  body {
    line-height: 0;
  }

  div {
    display: inline-block;
    height: 250px;
    width: 350px;
    background: purple;
    margin: 10px;
  }

  svg {
    display: block;
    background: green;
  }
  .justify {
    width: 350px;
  }
  .align {
    height: 250px;
  }
</style>
<div>
  <svg class="align justify"></svg>
</div>
<div>
  <svg class="align"></svg>
</div>
<div>
  <svg class="justify"></svg>
</div>
<div>
  <svg></svg>
</div>