summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-values/calc-height-table-1.html
blob: faea8dd68d3f271d897fcb104f26800371ced1c7 (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>
<html>
<head>
  <title>CSS Test: Test that height:calc() with no percentages has an effect on inner table elements</title>
  <link rel="author" title="L. David Baron" href="https://dbaron.org/">
  <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
  <link rel="match" href="calc-height-table-1-ref.html">
<style type="text/css">
tbody, tr, td {
  height: calc(500px);
  min-height: calc(700px);
  max-height: calc(2px);
}
</style>
</head>
<body>
<table border>
  <tbody>
    <tr>
      <td>cell</td>
      <td>cell</td>
    </tr>
    <tr>
      <td>cell</td>
      <td>cell</td>
    </tr>
  </tbody>
</table>
</body>
</html>