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">
<meta name="assert" content="This checks that an orthogonal flex-item with center alignment doesn't stretch.">
<p>Test passes if there is a filled green square.</p>
<style>
.container {
margin-left: -50px;
width: 200px;
display: flex;
flex-direction: column;
align-items: center;
}
.child {
writing-mode: vertical-rl;
height: 100px;
background: green;
}
</style>
<div class="container">
<div class="child">
<div style="width: 100px;"></div>
</div>
</div>