summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/table-with-infinite-max-intrinsic-width.html
blob: 7f4a4645f339e27eacabf8cfae3a9f791ef06ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<title>Table flex item with infinite max intrinsic inline size</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<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:">
<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:flex; width:100px; height:100px; align-items:flex-start; background:green;">
  <table style="flex-grow:1; flex-shrink:0; 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>