summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/baseline-008.html
blob: beb19ca44741aad5bc8f4fd55af8694d615972c5 (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>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol-1">
<link rel="help" href="https://drafts.csswg.org/css-align/#baseline-export">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/7639">
<link rel="match" href="baseline-008-ref.html">
<style>
  .part {
      display: inline-block;
      width: 50px;
      height: 100px;
      background: green;
      color: transparent;
  }
  .multicol {
      columns: 2;
      column-fill: auto;
  }
</style>
<p>There should be a green square below.</p>
<div class="part">
  <div>line1<br>line2</div>
</div><div class="part multicol">
  <div>line1<br>line2</div>
</div>