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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 2828503002: CSS Motion Path: delete implementation of motion shorthand (Closed)
Patch Set: test update 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/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index eaab6a2eab3df1328813551186e7158ba6212f1c..7abefdccdf2f6209c1dc70d81b7b855478e4c8fc 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -1951,9 +1951,7 @@ const CSSValue* CSSPropertyParser::ParseSingleValue(
return ConsumePathOrNone(range_);
case CSSPropertyOffsetPath:
return ConsumeOffsetPath(
- range_, context_,
- current_shorthand == CSSPropertyMotion ||
- unresolved_property == CSSPropertyAliasMotionPath);
+ range_, context_, unresolved_property == CSSPropertyAliasMotionPath);
case CSSPropertyOffsetDistance:
return ConsumeLengthOrPercent(range_, context_->Mode(), kValueRangeAll);
case CSSPropertyOffsetRotate:
@@ -3478,8 +3476,6 @@ bool CSSPropertyParser::ParseShorthand(CSSPropertyID unresolved_property,
return Consume4Values(marginShorthand(), important);
case CSSPropertyPadding:
return Consume4Values(paddingShorthand(), important);
- case CSSPropertyMotion:
- return ConsumeShorthandGreedily(motionShorthand(), important);
case CSSPropertyOffset:
return ConsumeOffsetShorthand(important);
case CSSPropertyWebkitTextEmphasis:
« no previous file with comments | « third_party/WebKit/Source/core/css/StylePropertySerializer.cpp ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698