item-with-table-with-infinite-max-intrinsic-width.html (775B)
1 <!DOCTYPE html> 2 <title>Grid 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://drafts.csswg.org/css-grid-1/#grid-item-sizing" title="6.2. Grid Item Sizing"> 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:grid; grid-template-columns:max-content; width:100px; height:100px; background:green;"> 8 <div> 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>