summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-grid/table-grid-item-dynamic-003-ref.html
blob: 1de4ccea471b5e5b12f6766ab63a1294f8cc93f9 (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
28
29
30
<!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;
  height: 100px;
  background-color: lime;
}

table {
  padding-top: 100px;
  height: 100%;
  box-sizing: content-box;
  background-color: yellow;
}
</style>
<div>
  <table>
    <thead>
      <tr>
        <th>Relayout shouldn't grow this table</th>
      </tr>
    </thead>
  </table>
</div>