blob: b140cd11eeca341823d6f31bfa3a38162ae0b1b9 [file] [log] [blame]
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-align-3/#align-flex">
<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>