summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-fill-auto-block-children-003-ref.html
blob: 075b1b3ea8d697fe314ee0ad27f61e4202d64f79 (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
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <title>CSS Multi-column Layout Test Reference: 'column-fill: auto' and height constrained of a multi-column container</title>
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">

  <style>
  article {
    column-fill: auto;
    column-count: 2;
    width: 200px;
    height: 200px;
  }
  div {
    height: 400px;
    background-color: lightgreen;
  }
  </style>

  <p>This test passes if you see two green strips with equal height.</p>
  <article>
    <div></div>
  </article>
</html>