table-with-infinite-max-intrinsic-width.html (804B)
1 <!DOCTYPE html> 2 <title>Table flex item 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 <table style="flex-grow:1; flex-shrink:0; height:50px; background:green;" cellpadding="0" cellspacing="0"> 9 <tr> 10 <td style="width:100%; background:green;"> </td> 11 <td style="background:green;"> </td> 12 </tr> 13 </table> 14 </div>