summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html')
-rw-r--r--layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html b/layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html
new file mode 100644
index 000000000..64b7b5dc3
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/values3/calc-height-table-1.html
@@ -0,0 +1,31 @@
+<!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">
+ <meta name="flags" content="">
+<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>