summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html
blob: 0cc6b0865005f6d66f84094148e5f7be11a54fab (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>
<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-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>