6 display: -webkit-flexbox;
7 background-color: #aaa;
9 -webkit-flex-flow: column;
11 .flexbox :nth-child(1) {
12 background-color: blue;
16 if (window.layoutTestController)
17 layoutTestController.dumpAsText();
19 <script src="resources/flexbox.js"></script>
20 <body onload="checkFlexBoxen()">
22 <div class="flexbox" data-expected-height=0>
23 <div class="flexitem" data-expected-height=0 style="height: 100px"></div>
26 <div class="flexbox" data-expected-height=0>
27 <div class="flexitem2" data-expected-height=0 style="height: 100px"></div>
31 document.querySelector('.flexitem').offsetHeight;
32 document.querySelector('.flexitem2').offsetHeight;
33 document.querySelector('.flexitem').style.height = "-webkit-flex(1)";
34 document.querySelector('.flexitem2').style.height = "-webkit-flex(1 auto)";