Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/out-of-flow-in-multicolumn-123.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Break Test: Fragmentation of abspos containing block with percentage sizes</title>
<link rel="author" title="David Shin" href="mailto:dshin@mozilla.com">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
.multicol {
width: 100px;
height: 100px;
column-count: 2;
column-fill: auto;
column-gap: 0;
background: red;
}
.container {
position: relative;
width: 50px;
height: 200px;
}
.abspos {
position: absolute;
width: 100%;
height: 100%;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="multicol">
<div class="container">
<div class="abspos"></div>
</div>
</div>