col-wrap-010.html (902B)
1 <!DOCTYPE html> 2 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#intrinsic-sizes"> 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 <meta name="assert" 10 content="Item with unresolvable width:100% contributes to max-content size via its content contributions." /> 11 12 <style> 13 .grandchild { 14 float: left; 15 width: 50px; 16 } 17 18 </style> 19 20 <div 21 style="display: flex; flex-flow: column wrap; width: max-content; height: 100px; background: green;" 22 data-expected-width="100"> 23 <div style="width: 100%; height: 50px; min-height: 0px;" 24 data-expected-width="100"> 25 <div class="grandchild"></div> 26 <div class="grandchild"></div> 27 </div> 28 </div> 29 30 31 <script> 32 checkLayout('body > div'); 33 </script>