| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <link href="resources/flexbox.css" rel="stylesheet"> |
| 4 |
| 5 <script src="../../resources/testharness.js"></script> |
| 6 <script src="../../resources/testharnessreport.js"></script> |
| 7 <script src="../../resources/check-layout-th.js"></script> |
| 8 |
| 9 <style> |
| 10 body, html { |
| 11 height: 100%; |
| 12 margin: 0; |
| 13 } |
| 14 |
| 15 .flexbox.column { |
| 16 min-height: min-content; |
| 17 background: green; |
| 18 height: 100%; |
| 19 } |
| 20 |
| 21 #content { |
| 22 height: 1000px; |
| 23 max-height: 100%; |
| 24 } |
| 25 </style> |
| 26 |
| 27 <div id="log"></div> |
| 28 |
| 29 <div class="flexbox column justify-content-center align-items-center" data-expec
ted-height="100"> |
| 30 <div id="content" data-expected-height="100"></div> |
| 31 </div> |
| 32 |
| 33 <script> |
| 34 document.body.offsetHeight; |
| 35 document.documentElement.style.height = '100px'; |
| 36 |
| 37 checkLayout('.flexbox'); |
| 38 </script> |
| OLD | NEW |