blob: b140cd11eeca341823d6f31bfa3a38162ae0b1b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!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>
|