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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css

Issue 1407633003: [css-grid] Implementation of Baseline Self-Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Get advantage of recomputing the intrinsic size to solve the issues with orthogonal flows. Created 3 years, 10 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: third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css b/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css
index 765241bc5af75b27437624e5431b17a65b0aae97..2655bd38873fa10d29d6347bc9fa9ae58e3c4f51 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-alignment.css
@@ -26,6 +26,7 @@
.alignItemsStart { align-items: start; }
.alignItemsCenter { align-items: center; }
.alignItemsEnd { align-items: end; }
+.alignItemsBaseline { align-items: baseline; }
.alignItemsCenterSafe { align-items: center safe; }
.alignItemsCenterUnsafe { align-items: center unsafe; }
@@ -65,6 +66,8 @@
.justifySelfCenterSafe { justify-self: center safe; }
.justifySelfCenterUnsafe { justify-self: center unsafe; }
+.justifySelfBaseline { justify-self: baseline; }
+
/* justify-items */
.justifyItemsAuto { justify-items: auto; }
.justifyItemsStretch { justify-items: stretch; }
@@ -77,6 +80,8 @@
.justifyItemsEndSafe { justify-items: end safe; }
.justifyItemsEndUnsafe { justify-items: end unsafe; }
+.justifyItemsBaseline { justify-items: baseline; }
+
/* justify-content */
.justifyContentBaseline { justify-content: baseline; }
.justifyContentLastBaseline { justify-content: last-baseline; }
@@ -127,6 +132,10 @@
align-items: self-end;
justify-items: self-end;
}
+.itemsBaseline {
+ align-items: baseline;
+ justify-items: baseline;
+}
/* Both align-self and justify-self */
.selfStretch {

Powered by Google App Engine
This is Rietveld 408576698