Index: LayoutTests/fast/css-intrinsic-dimensions/height-tables-collapsed.html |
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/height-tables-collapsed.html b/LayoutTests/fast/css-intrinsic-dimensions/height-tables-collapsed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..596a5d3460c9d5d7d915717656633fa4c3f30d7f |
--- /dev/null |
+++ b/LayoutTests/fast/css-intrinsic-dimensions/height-tables-collapsed.html |
@@ -0,0 +1,40 @@ |
+<!DOCTYPE html> |
+ |
+<style> |
+ @import "resources/height-keyword-classes.css"; |
+ |
+ .small { height: 1px; } |
+ .big { height: 300px; } |
+ .item { height: 50px; width: 50px; border: 1px solid blue; } |
+ |
+ .container { height: 100px; border: 5px solid pink; } |
+ table { border: 2px solid red; border-collapse: collapse; } |
+ td { border: 2px solid green; } |
+</style> |
+ |
+<table class="big max-height-min-content"> |
+ <td> |
+ <div class="item"></div> |
+ </td> |
+</table> |
+ |
+<table> |
+ <td class="small min-height-min-content"> |
+ <div class="item"></div> |
+ </td> |
+</table> |
+ |
+<div class="container"> |
+ <table class="small min-height-fill-available"> |
+ <td> |
+ <div class="item"></div> |
+ </td> |
+ </table> |
+</div> |
+ |
+ |
+<table class="container"> |
+ <td class="small min-height-fill-available"> |
+ <div class="item"></div> |
+ </td> |
+</table> |