OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <link href="resources/flexbox.css" rel="stylesheet"> | 2 <link href="resources/flexbox.css" rel="stylesheet"> |
3 <script src="../../resources/testharness.js"></script> | 3 <script src="../../resources/testharness.js"></script> |
4 <script src="../../resources/testharnessreport.js"></script> | 4 <script src="../../resources/testharnessreport.js"></script> |
5 <script src="../../resources/check-layout-th.js"></script> | 5 <script src="../../resources/check-layout-th.js"></script> |
6 <body onload="checkLayout('.flexbox')"> | 6 <body onload="checkLayout('.flexbox')"> |
7 <div id=log></div> | 7 <div id=log></div> |
8 | 8 |
9 <!-- This isn't "correct" per the spec, but it is an interim fix | |
10 to avoid bad results. | |
11 See https://crbug.com/580196 | |
12 --> | |
13 <div class="flexbox column" style="height: 0px;" data-expected-height="0"> | 9 <div class="flexbox column" style="height: 0px;" data-expected-height="0"> |
14 <div data-expected-height="0" style="display: flex;">Some text</div> | 10 <div data-expected-height="100" style="display: flex;"><div style="width: 100p
x; height: 100px;"></div></div> |
15 </div> | 11 </div> |
OLD | NEW |