summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/column-balancing-with-span-and-oof-001.html
blob: 7ecd9ee873843db33c7457c974b5fd87ac893a21 (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
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span">
<link rel="help" href="https://drafts.csswg.org/css-break/#breaking-rules">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
  #multicol {
    column-count: 2;
    column-fill: auto;
    column-gap: 0px;
    width: 100px;
  }
  .abs {
    position: absolute;
    width: 50px;
    height: 200px;
    top: 0;
    background: green;
  }
</style>
<p>Test passes if there is a filled green square.</p>
<div id="multicol">
  <div style="position: relative;">
    <div style="height: 100px;"></div>
    <div class="abs"></div>
  </div>
  <div style="column-span: all;"></div>
  <div style="height: 100px;"></div>
</div>