14 display: -webkit-flexbox;
15 background-color: #aaa;
23 .flexbox :nth-child(1) {
24 background-color: blue;
26 .flexbox :nth-child(2) {
27 background-color: green;
32 if (window.layoutTestController)
33 layoutTestController.dumpAsText();
35 <script src="resources/flexbox.js"></script>
36 <body onload="checkFlexBoxen()">
38 <div class="flexbox" style="height: 50%;">
39 <div data-expected-height="50" data-offset-y="0" style="width: -webkit-flex(1); height: 50px;"></div>
40 <div data-expected-height="300" data-offset-y="0" style="width: -webkit-flex(1);"></div>