summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/table-as-item-large-intrinsic-size.html
blob: 1aba63b4fb4bfa5f4566c30a4da4a67e275882d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#computing-the-table-height">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: flex; width: 100px; height: 50px;">
  <table style="position: relative; flex: 1; border-spacing: 0;">
    <td style="padding: 0;">
      <div style="height: 100px;"></div>
      <div style="position: absolute; inset: 0; background: green;"></div>
    </td>
  </table>
</div>