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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2737843003: [css-align] Implement place-items alignment shorthand (Closed)
Patch Set: Created 3 years, 9 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/Source/core/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 6c90124dc2247afd33c1b8994c3fdb5f85e33d2c..943df6b752848c1dff5d2d499cc7ead837300d55 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2323,6 +2323,13 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
layoutObject, styledNode,
allowVisitedStyle);
}
+ case CSSPropertyPlaceItems: {
+ // TODO (jfernandez): The spec states that we should return the specified
+ // value.
+ return valuesForShorthandProperty(placeItemsShorthand(), style,
+ layoutObject, styledNode,
+ allowVisitedStyle);
+ }
case CSSPropertyAlignContent:
return valueForContentPositionAndDistributionWithOverflowAlignment(
style.alignContent(), CSSValueStretch);

Powered by Google App Engine
This is Rietveld 408576698