diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html')
-rw-r--r-- | testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html b/testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html new file mode 100644 index 0000000000..d257016a25 --- /dev/null +++ b/testing/web-platform/tests/css/css-multicol/abspos-after-spanner-static-pos.html @@ -0,0 +1,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> |