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

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

Issue 2241993002: CSS Motion Path: New names for properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 3 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/StylePropertySerializer.cpp
diff --git a/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp b/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp
index 911704e775f27b58193277f85033bcdcbf29a27a..c067f76c1c233ecc83699205fe30ab7b41faca5f 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp
+++ b/third_party/WebKit/Source/core/css/StylePropertySerializer.cpp
@@ -315,6 +315,7 @@ static bool allowInitialInShorthand(CSSPropertyID propertyID)
case CSSPropertyGridArea:
case CSSPropertyGridGap:
case CSSPropertyMotion:
+ case CSSPropertyOffset:
case CSSPropertyWebkitMarginCollapse:
case CSSPropertyListStyle:
case CSSPropertyWebkitTextEmphasis:
@@ -455,6 +456,8 @@ String StylePropertySerializer::getPropertyValue(CSSPropertyID propertyID) const
return get4Values(marginShorthand());
case CSSPropertyMotion:
return getShorthandValue(motionShorthand());
+ case CSSPropertyOffset:
+ return getShorthandValue(offsetShorthand());
case CSSPropertyWebkitMarginCollapse:
return getShorthandValue(webkitMarginCollapseShorthand());
case CSSPropertyOverflow:

Powered by Google App Engine
This is Rietveld 408576698