10 background-color: #aaa;
16 .flexbox
> :nth-child(
1) {
17 background-color: blue;
19 .flexbox
> :nth-child(
2) {
20 background-color: green;
23 .flexbox
> div
> :nth-child(
1) {
24 background-color: pink;
26 .flexbox
> div
> :nth-child(
2) {
27 background-color: purple;
30 .flexbox
> div
> div
> :nth-child(
1) {
31 background-color: red;
33 .flexbox
> div
> div
> :nth-child(
2) {
34 background-color: yellow;
39 background-color: #ddd;
46 -webkit-writing-mode: horizontal-bt;
49 -webkit-writing-mode: vertical-rl;
52 -webkit-writing-mode: vertical-lr;
55 flex-flow: row-reverse;
61 flex-flow: column-reverse;
65 align-self: flex-start;
68 <script src=
"../../resources/check-layout.js"></script>
69 <body onload=
"checkLayout('.flexbox')">
72 <div class=
"column nested">
73 <div data-expected-height=
"50" style=
"flex: 1 0 0; width: 100px;"></div>
74 <div data-expected-height=
"50" style=
"flex: 1 0 0; width: 100px;"></div>
76 <div data-expected-width=
"500" style=
"flex: 1 0 0; height:100px;"></div>
80 <div class=
"column nested align-start">
81 <div data-expected-height=
"0" style=
"flex: 1 0 0; width: 100px;"></div>
82 <div data-expected-height=
"0" style=
"flex: 1 0 0; width: 100px;"></div>
84 <div data-expected-width=
"500" style=
"flex: 1 0 0; height:100px;"></div>
88 <div class=
"column nested align-start" style=
"height: 50px">
89 <div data-expected-height=
"25" style=
"flex: 1 0 0; width: 100px;"></div>
90 <div data-expected-height=
"25" style=
"flex: 1 0 0; width: 100px;"></div>
92 <div data-expected-width=
"500" style=
"flex: 1 0 0; height:100px;"></div>
96 <div class=
"column nested" style=
"height: 50px">
97 <div class=
"nested" style=
"flex: 1; width: 100px;">
98 <div data-expected-height=
"25" style=
"flex: 1 0 auto;"></div>
99 <div data-expected-height=
"25" style=
"flex: 1 0 auto;"></div>
101 <div style=
"flex: 1;"></div>
103 <div data-expected-width=
"500" style=
"flex: 1 0 0; height:100px;"></div>
106 <div class=
"flexbox column" style=
"height: 100px">
107 <div class=
"row-reverse nested" style=
"flex: 1; width: 100px;">
108 <div data-expected-width=
"50" style=
"flex: 1 0 auto;"></div>
109 <div data-expected-width=
"50" style=
"flex: 1 0 auto;"></div>
111 <div data-expected-height=
"50" style=
"flex: 1 0 0;"></div>
114 <div class=
"flexbox column-reverse" style=
"height: 100px">
115 <div class=
"row-reverse nested" style=
"flex: 1; width: 100px;">
116 <div data-expected-width=
"50" style=
"flex: 1 0 auto;"></div>
117 <div data-expected-width=
"50" style=
"flex: 1 0 auto;"></div>
119 <div data-expected-height=
"50" style=
"flex: 1 0 0;"></div>
122 <div class=
"flexbox vertical-lr" style=
"height: 100px">
123 <div class=
"column nested" style=
"flex: 1; width: 100px;">
124 <div data-expected-width=
"50" style=
"flex: 1 0 auto;"></div>
125 <div data-expected-width=
"50" style=
"flex: 1 0 auto;"></div>
127 <div data-expected-height=
"50" style=
"flex: 1 0 0;"></div>