summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/flexbox/flexbox-collapsed-item-horiz-003-ref.html
blob: c8242106ba143269630ab10b69351ca95442f5b7 (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
43
44
45
46
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
  <meta charset="utf-8">
  <style>
    .flexContainer {
      display: flex;
      flex-wrap: wrap;
      align-content: stretch; /* Initial value; just here for emphasis */
      width: 25px;
      height: 60px;
      background: yellow;
      border: 1px dotted black;
      float: left;
      margin: 5px;
    }
    .collapsedItem {
      width: 0;
      height: 40px;
    }
    .shortItem {
      width: 25px;
      height: 10px;
      background: purple;
    }
    .tallItem {
      width: 10px;
      height: 30px;
      background: olive;
    }
  </style>
</head>
<body>
  <div class="flexContainer">
    <div class="shortItem"></div>
    <div class="collapsedItem"></div>
    <div class="tallItem"></div>
  </div>
</body>
</html>