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

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

Issue 2737843003: [css-align] Implement place-items alignment shorthand (Closed)
Patch Set: More layout tests fixes. Created 3 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: 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 5394b40317a46dc87b92dbe6c144480c61213132..d8ab329493f8af5f944dd973f9b962ae48727b34 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2351,6 +2351,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);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/css/StylePropertySerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698