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

Unified Diff: LayoutTests/fast/css-intrinsic-dimensions/resources/height-keyword-classes.css

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/resources/height-keyword-classes.css
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/resources/height-keyword-classes.css b/LayoutTests/fast/css-intrinsic-dimensions/resources/height-keyword-classes.css
new file mode 100644
index 0000000000000000000000000000000000000000..9cbfaa149811fc67873faaf4bcff60f9ed105d55
--- /dev/null
+++ b/LayoutTests/fast/css-intrinsic-dimensions/resources/height-keyword-classes.css
@@ -0,0 +1,77 @@
+/* In the current spec for heights, min-content, max-content and fit-content are
+ * equivalent.
+ * fill-available is different and similar to widths.
+ */
+
+.min-content {
+ height: -webkit-min-content;
+ height: -moz-min-content;
+ height: min-content;
+}
+
+.max-content {
+ height: -webkit-max-content;
+ height: -moz-max-content;
+ height: max-content;
+}
+
+.fill-available {
+ height: -webkit-fill-available;
+ /* Firefox is missing the fill- prefix because they followed an older spec */
+ height: -moz-available;
+ height: fill-available;
+}
+
+.fit-content {
+ height: -webkit-fit-content;
+ height: -moz-fit-content;
+ height: fit-content;
+}
+
+.max-height-min-content {
+ max-height: -webkit-min-content;
+ max-height: -moz-min-content;
+ max-height: min-content;
+}
+
+.max-height-max-content {
+ max-height: -webkit-max-content;
+ max-height: -moz-max-content;
+ max-height: max-content;
+}
+
+.max-height-fill-available {
+ max-height: -webkit-fill-available;
+ max-height: -moz-available;
+ max-height: fill-available;
+}
+
+.max-height-fit-content {
+ max-height: -webkit-fit-content;
+ max-height: -moz-fit-content;
+ max-height: fit-content;
+}
+
+.min-height-min-content {
+ min-height: -webkit-min-content;
+ min-height: -moz-min-content;
+ min-height: min-content;
+}
+
+.min-height-max-content {
+ min-height: -webkit-max-content;
+ min-height: -moz-max-content;
+ min-height: max-content;
+}
+
+.min-height-fill-available {
+ min-height: -webkit-fill-available;
+ min-height: -moz-available;
+ min-height: fill-available;
+}
+
+.min-height-fit-content {
+ min-height: -webkit-fit-content;
+ min-height: -moz-fit-content;
+ min-height: fit-content;
+}
« no previous file with comments | « LayoutTests/fast/css-intrinsic-dimensions/height-tables-expected.html ('k') | Source/WebCore/css/CSSParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698