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

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

Issue 1488493003: [css-grid] refactoring of layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch rebased and refactoring of alignment css rules. Created 4 years, 11 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 468b17abfd736eda7b5cfa9228e3c23644d1d5fd..7b1f1efb814ff80b5205a2816b46816c06ab0d18 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
@@ -13,8 +13,22 @@
.alignSelfSelfStart { align-self: self-start; }
.alignSelfSelfEnd { align-self: self-end; }
+.alignSelfCenterSafe { align-self: center safe; }
+.alignSelfCenterUnsafe { align-self: center unsafe; }
+.alignSelfEndSafe { align-self: end safe; }
+.alignSelfEndUnsafe { align-self: end unsafe; }
+
/* align-items */
+.alignItemsAuto { align-items: auto; }
+.alignItemsStretch { align-items: stretch; }
+.alignItemsStart { align-items: start; }
.alignItemsCenter { align-items: center; }
+.alignItemsEnd { align-items: end; }
+
+.alignItemsCenterSafe { align-items: center safe; }
+.alignItemsCenterUnsafe { align-items: center unsafe; }
+.alignItemsEndSafe { align-items: end safe; }
+.alignItemsEndUnsafe { align-items: end unsafe; }
/* align-content */
.alignContentBaseline { align-content: baseline; }
@@ -27,6 +41,36 @@
.alignContentFlexStart { align-content: flex-start; }
.alignContentFlexEnd { align-content: flex-end; }
+/* justify-self */
+.justifySelfAuto { justify-self: auto; }
+.justifySelfStretch { justify-self: stretch; }
+.justifySelfStart { justify-self: start; }
+.justifySelfCenter { justify-self: center; }
+.justifySelfEnd { justify-self: end; }
+.justifySelfRight { justify-self: right; }
+.justifySelfLeft { justify-self: left; }
+
+.justifySelfFlexStart { justify-self: flex-start; }
+.justifySelfFlexEnd { justify-self: flex-end; }
+
+.justifySelfSelfStart { justify-self: self-start; }
+.justifySelfSelfEnd { justify-self: self-end; }
+
+.justifySelfCenterSafe { justify-self: center safe; }
+.justifySelfCenterUnsafe { justify-self: center unsafe; }
+
+/* justify-items */
+.justifyItemsAuto { justify-items: auto; }
+.justifyItemsStretch { justify-items: stretch; }
+.justifyItemsStart { justify-items: start; }
+.justifyItemsCenter { justify-items: center; }
+.justifyItemsEnd { justify-items: end; }
+
+.justifyItemsCenterSafe { justify-items: center safe; }
+.justifyItemsCenterUnsafe { justify-items: center unsafe; }
+.justifyItemsEndSafe { justify-items: end safe; }
+.justifyItemsEndUnsafe { justify-items: end unsafe; }
+
/* justify-content */
.justifyContentBaseline { justify-content: baseline; }
.justifyContentLastBaseline { justify-content: last-baseline; }
@@ -43,6 +87,11 @@
.justifyContentStretch { justify-content: stretch; }
/* Both align-items and justify-items */
+.itemsStart {
+ align-items: start;
+ justify-items: start;
+}
+
.itemsCenter {
align-items: center;
justify-items: center;
@@ -72,3 +121,63 @@
align-items: self-end;
justify-items: self-end;
}
+
+/* Both align-self and justify-self */
+.selfStretch {
+ align-self: stretch;
+ justify-self: stretch;
+}
+
+/* Both align-content and justify-content */
+.contentStart {
+ align-content: start;
+ justify-content: start;
+}
+.contentCenter {
+ align-content: center;
+ justify-content: center;
+}
+.contentEnd {
+ align-content: end;
+ justify-content: end;
+}
+
+.contentCenterSafe {
+ align-content: center safe;
+ justify-content: center safe;
+}
+
+.contentCenterUnsafe {
+ align-content: center unsafe;
+ justify-content: center unsafe;
+}
+
+.contentEndSafe {
+ align-content: end safe;
+ justify-content: end safe;
+}
+
+.contentEndUnsafe {
+ align-content: end unsafe;
+ justify-content: end unsafe;
+}
+
+.contentSpaceBetween {
+ justify-content: space-between;
+ align-content: space-between;
+}
+
+.contentSpaceAround {
+ justify-content: space-around;
+ align-content: space-around;
+}
+
+.contentSpaceEvenly {
+ justify-content: space-evenly;
+ align-content: space-evenly;
+}
+
+.contentStretch {
+ justify-content: stretch;
+ align-content: stretch;
+}

Powered by Google App Engine
This is Rietveld 408576698