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

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

Issue 2827003002: CSS Motion Path: delete implementation of motion-path property (Closed)
Patch Set: ManualTests 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 7611e9a2c5b3d90f5031af1202e207be2635dc60..872b229ef80b93f36d834b9ebd2d87b5ea58fa28 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -749,7 +749,7 @@ static CSSValue* ConsumeOffsetRotate(CSSParserTokenRange& range) {
// offset: <offset-path> <offset-distance> <offset-rotation>
bool CSSPropertyParser::ConsumeOffsetShorthand(bool important) {
const CSSValue* offset_path =
- CSSPropertyOffsetPathUtils::ConsumeOffsetPath(range_, context_, false);
+ CSSPropertyOffsetPathUtils::ConsumeOffsetPath(range_, context_);
const CSSValue* offset_distance =
ConsumeLengthOrPercent(range_, context_->Mode(), kValueRangeAll);
const CSSValue* offset_rotation = ConsumeOffsetRotate(range_);
@@ -1749,8 +1749,7 @@ const CSSValue* CSSPropertyParser::ParseSingleValue(
case CSSPropertyD:
return CSSPropertyOffsetPathUtils::ConsumePathOrNone(range_);
case CSSPropertyOffsetPath:
- return CSSPropertyOffsetPathUtils::ConsumeOffsetPath(
- range_, context_, unresolved_property == CSSPropertyAliasMotionPath);
+ return CSSPropertyOffsetPathUtils::ConsumeOffsetPath(range_, context_);
case CSSPropertyOffsetDistance:
return ConsumeLengthOrPercent(range_, context_->Mode(), kValueRangeAll);
case CSSPropertyOffsetRotate:

Powered by Google App Engine
This is Rietveld 408576698