Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-values/calc-height-table-1.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<html>
<head>
<title>CSS Test: Test that height:calc() with no percentages has an effect on inner table elements</title>
<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>