summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/grid-items/table-with-infinite-max-intrinsic-width.html
blob: 877e982cd4c5987f131587da33a23f3b7a49d538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<title>Table grid item with infinite max intrinsic inline size</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-item-sizing" title="6.2. Grid Item Sizing">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="display:grid; grid-template-columns:max-content; width:100px; height:100px; background:green;">
  <table style="height:50px; background:green;" cellpadding="0" cellspacing="0">
    <tr>
      <td style="width:100%; background:green;">&nbsp;</td>
      <td style="background:green;">&nbsp;</td>
    </tr>
  </table>
</div>