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/transform-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
.relpos {
position: relative;
top: -60px;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="writing-mode:vertical-lr; inline-size:100px; block-size:100px; columns:4; column-fill:auto; column-gap:0; background:red;">
<div style="block-size:50px; background:green;"></div>
<div style="will-change:transform; transform:translateY(60px);">
<div class="relpos" style="block-size:100px;"></div>
<div class="relpos" style="block-size:100px;"></div>
<div class="relpos" style="block-size:150px;"></div>
</div>
</div>