Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: LayoutTests/fast/css-intrinsic-dimensions/height-tables.html

Issue 13674002: Support intrinsic values for height, min-height and max-height (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CSS table tests Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css-intrinsic-dimensions/height-tables.html
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/height-tables.html b/LayoutTests/fast/css-intrinsic-dimensions/height-tables.html
new file mode 100644
index 0000000000000000000000000000000000000000..99c922e63df19ffdc59d98d78f408def4a79a618
--- /dev/null
+++ b/LayoutTests/fast/css-intrinsic-dimensions/height-tables.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; }
+ 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>

Powered by Google App Engine
This is Rietveld 408576698