9 background-color: #aaa;
12 .flexbox :nth-child(
1) {
13 background-color: blue;
15 .flexbox :nth-child(
2) {
16 background-color: green;
26 .noflex .row :nth-child(
1) {
32 flex-direction: column;
39 .noflex .column :nth-child(
1) {
48 document
.body
.className
= "noflex";
49 checkLayout('.flexbox');
52 <script src=
"../../resources/check-layout.js"></script>
53 <body onload=
"runTest()">
55 <div class=
"flexbox row">
56 <div data-expected-width=
"50"></div>
57 <div data-expected-width=
"150"></div>
60 <div class=
"flexbox column">
61 <div data-expected-height=
"50"></div>
62 <div data-expected-height=
"150"></div>