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-065.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>
Nested out-of-flow positioned element in multicol with vertical-rl writing
mode.
</title>
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
.multicol {
writing-mode: vertical-rl;
columns: 2;
column-fill: auto;
column-gap: 0;
height: 100px;
width: 100px;
background: red;
color: red;
}
.fixed {
position: fixed;
inline-size: 50px;
block-size: 200px;
inset-block-start: 0;
inset-inline-start: 0;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="multicol">
<div style="transform: translateX(0);">
FAIL
<div style="position: relative;">
<div style="position: absolute;">
<div class="fixed"></div>
</div>
</div>
</div>
</div>