|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <title>CSS Test: Test that height:calc() with no percentages has an effect on inner table elements</title> |
|
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/"> |
|
6 <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation"> |
|
7 <meta name="flags" content=""> |
|
8 <style type="text/css"> |
|
9 tbody, tr, td { |
|
10 height: calc(500px); |
|
11 min-height: calc(700px); |
|
12 max-height: calc(2px); |
|
13 } |
|
14 </style> |
|
15 </head> |
|
16 <body> |
|
17 <table border> |
|
18 <tbody> |
|
19 <tr> |
|
20 <td>cell</td> |
|
21 <td>cell</td> |
|
22 </tr> |
|
23 <tr> |
|
24 <td>cell</td> |
|
25 <td>cell</td> |
|
26 </tr> |
|
27 </tbody> |
|
28 </table> |
|
29 </body> |
|
30 </html> |