item-with-table-with-infinite-max-intrinsic-width.html (846B)
1 <!DOCTYPE html> 2 <title>Flex item with table with infinite max intrinsic inline size</title> 3 <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> 4 <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#algo-main-item" title="3. Determine the flex base size and hypothetical main size of each item:"> 5 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 6 <p>Test passes if there is a filled green square.</p> 7 <div style="display:flex; width:100px; height:100px; align-items:flex-start; background:green;"> 8 <div style="flex-grow:1; flex-shrink:0;"> 9 <table style="height:50px; background:green;" cellpadding="0" cellspacing="0"> 10 <tr> 11 <td style="width:100%; background:green;"> </td> 12 <td style="background:green;"> </td> 13 </tr> 14 </table> 15 </div> 16 </div>