summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html b/testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html
new file mode 100644
index 0000000000..de65f625d6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1880550">
+<link rel="help" href="https://drafts.csswg.org/css-tables/#height-distribution">
+<link rel="match" href="table-cell-overflow-explicit-height-ref.html">
+<style>
+td {
+ height: 20px;
+ max-height: 20px;
+ border: 2px solid cyan;
+ overflow: hidden;
+}
+.tall {
+ height: 300px;
+ background: blue;
+ border: 2px solid black;
+}
+</style>
+<table border>
+ <td>
+ <div class="tall"></div>
+ Can you see this text?
+ </td>
+</table>