summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/as-column-flex-item.html
blob: 21ff8d8d50cf97ecb22cd05cf1ae774d4aa81cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/">
<meta name="assert" content="Tests that the intrinsic block-size of a multicol container is calculated correctly, including the border">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="width:100px; height:100px; background:red;">
  <div style="display:flex; flex-flow:column; background:red;">
    <div style="columns:4; column-gap:0; border:30px solid green; width:40px;">
      <div style="height:160px; background:green;"></div>
    </div>
  </div>
</div>