calc-height-table-1

Test that height:calc() with no percentages has an effect on inner table elements

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3   <title>CSS Test: Test that height:calc() with no percentages has an effect on inner table elements</title>
 4   <link href="https://dbaron.org/" rel="author" title="L. David Baron">
 5   <link href="http://www.w3.org/TR/css3-values/#calc-notation" rel="help">
 6   <link href="reference/calc-height-table-1-ref.htm" rel="match">
 7   <meta content="" name="flags">
 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 
30 
31 </body></html>