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-119.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Break Test: Fragmentation of abspos element in a vertical-rl multicol container</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
.multicol {
writing-mode: vertical-rl;
block-size: 100px;
inline-size: 100px;
column-count: 2;
column-fill: auto;
column-gap: 0;
background: red;
}
.container {
display: flex;
position: relative;
border-block: 20px solid green;
block-size: 160px;
}
.abspos {
position: absolute;
inline-size: 100%;
block-size: 160px;
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>