summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html
blob: d257016a2519c6c30a0c352f4bd453822c89841b (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
29
<!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;
    width: 400px;
    margin-top: -60px;
    margin-left: -200px;
  }
  .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="height: 70px;"></div>
  <div style="column-span: all; height: 10px;"></div>
  <div style="height: 35px;"></div>
  <div style="height: 15px;"></div>
  <div class="abs"></div>
  <div style="height: 20px; width: 100px; background: red;"></div>
</div>