summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/abspos-after-spanner.html
blob: 98664b50cc144adf01817e98fe844d68d877dbe9 (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>
<title>Abspos element after a column spanner</title>
<link rel="help" href="https://drafts.csswg.org/css-multicol/">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
  .multicol {
    columns: 2;
    column-fill: auto;
    column-gap: 0px;
    margin-top: -10px;
  }
  .abs {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: green;
  }
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="multicol">
  <div style="column-span: all; height: 10px;"></div>
  <div class="abs"></div>
  <div style="height: 30px; width: 30px; background-color: red;"></div>
  <div style="height: 70px;"></div>
</div>