Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-position/multicol/static-position/vrl-ltr-ltr-in-multicol.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="vrl-in-multicol-ref.html">
<meta name="assert" content="This test checks the static position of an out of flow absolute positioned element, under various conditions." />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
body { writing-mode: vertical-rl; }
.container {
position: relative;
background: green;
font: 16px/1 Ahem;
inline-size: 80px;
block-size: 100px;
color: green;
}
.multicol {
column-count: 2;
column-fill: auto;
column-gap: 0;
block-size: 100px;
inline-size: 160px;
}
.red { color: red; }
.cb {
position: relative;
inset-block-start: 15px;
inset-inline-start: 20px;
}
.rtl { direction: rtl; }
.ltr { direction: ltr; }
.inline { display: inline; }
.abs { position: absolute; }
</style>
There should be no red.
<div class="multicol">
<div class="container ltr">
X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span>
</div>
<div class="container ltr">
X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
</div>
<div class="container ltr">
X<span class="ltr cb">X<div class="abs inline">XX</div><span class="red">XX</span></span>
</div>
<div class="container ltr">
X<span class="ltr cb">X<div class="abs block">XX</div><br><span class="red">XX</span></span>
</div>
<div class="container ltr">
<span class="cb">X<span class="ltr">X<div class="abs inline">XX</div><span class="red">XX</span></span></span>
</div>
<div class="container ltr">
<span class="cb">X<span class="ltr">X<div class="abs block">XX</div><br><span class="red">XX</span></span></span>
</div>
</div>