3 <link href=
"resources/flexbox.css" rel=
"stylesheet">
15 background-color: #aaa;
23 .flexbox :nth-child(
1) {
24 background-color: blue;
26 .flexbox :nth-child(
2) {
27 background-color: green;
31 <script src=
"../../resources/check-layout.js"></script>
32 <body onload=
"checkLayout('.flexbox')">
34 <div class=
"flexbox" style=
"height: 50%;">
35 <div data-expected-height=
"50" data-offset-y=
"0" class=
"flex-one" style=
"height: 50px;"></div>
36 <div data-expected-height=
"300" data-offset-y=
"0" class=
"flex-one"></div>