summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/subgrid/subgrid-stretch-ref.html
blob: 33e8669da01787826ea27895323f17b5b3a6a2c9 (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
40
41
42
<!DOCTYPE HTML>
<html><head>
  <meta charset="utf-8">
  <title>CSS Grid Test: The subgrid is always stretched in its subgridded dimension(s)</title>
  <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-2/#subgrid-box-alignment">
  <style>
   body {
     margin: 0;
   }
  .grid {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: blue;
  }
  </style>
</head>
<body>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>

  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>

  <br>

  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>
  <div class="grid"></div>

</body>
</html>