summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/table-grid-item-dynamic-002-ref.html
blob: 88fdfa71f109edc61e74c0ecf3300c7f981925f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
html,body {
  color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}

div {
  display: grid;
  background-color: lime;
}

table {
  min-height: 100px;
}
</style>
<div>
  <table>
    <caption>Table caption</caption>
    <thead>
      <tr>
        <th>This table should shrink after setting a smaller min-height</th>
      </tr>
    </thead>
  </table>
</div>