Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
span {
display: inline-block;
inline-size: 100px;
block-size: 50px;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div id="target" style="width: 100px; height: 200px; line-height: 0;">
<div style="display: inline-flex; height: 100%; background: green;">
<div style="writing-mode: vertical-rl;">
<span></span><span></span>
</div>
</div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '100px';
</script>