summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-size-multicol-003-ref.html
blob: af927aa268fcd21db147201bcd95f9e0d0c108be (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
  <style>
  .basic {
    border: 1em solid green;
    column-count: 3;
  }
  .innerContents {
    color: transparent;
    height: 0;
    width: 0;
  }
  .col-width-ref {
    column-width: 20px;
  }
  .col-gap-ref {
    column-gap: 5px;
  }
  .flexBaselineCheck {
    display: flex;
    align-items: baseline;
  }
  .min {
    width: min-content;
  }
  .max {
    width: max-content;
  }
  </style>
</head>
<body>
  <div class="flexBaselineCheck">
    outside before
    <div class="basic" style="max-height:0px">
      <div class="innerContents">inner</div>
    </div>
    outside after
  </div>
  <br>

  <div class="basic min col-width-ref"></div>
  <br>

  <div class="basic max col-width-ref"></div>
  <br>

  <div class="basic min col-gap-ref col-width-ref"></div>
  <br>

  <div class="basic max col-gap-ref col-width-ref"></div>
  <br>

  <div class="min">
    <div class="basic"></div>
  </div>
  <br>

  <div class="max">
    <div class="basic"></div>
  </div>
</body>
</html>