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

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

Issue 2662573002: [css-align] Implement place-content alignment shorthand (Closed)
Patch Set: Patch rebased. 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 f93e329d6930aba981aa31fad2d7a673f1b4228a..377d4b3303f1434c54c6d66c6dc56432329618cb 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2314,6 +2314,13 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
return CSSIdentifierValue::create(style.display());
case CSSPropertyEmptyCells:
return CSSIdentifierValue::create(style.emptyCells());
+ case CSSPropertyPlaceContent: {
+ // TODO (jfernandez): The spec states that we should return the specified
+ // value.
+ return valuesForShorthandProperty(placeContentShorthand(), 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