blob: bd8cd4126f04a72e658f05e4579e1edf9fc528f7 (
plain) (
blame)
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
31
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: Test that height:calc() with no percentages has an effect on inner table elements</title>
<link href="http://dbaron.org/" rel="author" title="L. David Baron" />
<link href="http://www.w3.org/TR/css3-values/#calc-notation" rel="help" />
<link href="reference/calc-height-table-1-ref.xht" rel="match" />
<meta content="" name="flags" />
<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>
|