2 <link href=
"resources/flexbox.css" rel=
"stylesheet">
4 <script src=
"../../resources/js-test.js"></script>
5 <script src=
"../../resources/check-layout.js"></script>
11 background-color: grey;
15 background-color: red;
22 background-color: green;
35 <body onload=
"checkLayout('.flexbox')">
37 <div class=
"flexbox" data-expected-width=
"10">
38 <div class=
"item" data-expected-width=
"100">
39 <div class=
"child" data-expected-width=
"100"></div>
43 <div class=
"flexbox column" data-expected-height=
"10">
44 <div class=
"item" data-expected-height=
"100">
45 <div class=
"child" data-expected-height=
"100"></div>
49 <div class=
"flexbox" data-expected-width=
"10">
50 <div class=
"item width-20" data-expected-width=
"20">
51 <div class=
"child" data-expected-width=
"100"></div>
55 <div class=
"flexbox" data-expected-width=
"10">
56 <div class=
"item flex-basis-20" data-expected-width=
"100">
57 <div class=
"child" data-expected-width=
"100"></div>