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

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

Issue 2247773004: [WIP] CSS Motion Path: offset-anchor and offset-position Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: offsetAnchor Created 4 years, 4 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/CSSPropertyEquality.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
index e0ca1424da6f9ec3d68b3e569231635ebd2c92e7..afb87a89684d4a3eda98fabbc5b128fa2877ab09 100644
--- a/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
@@ -175,10 +175,10 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const ComputedStyl
return a.minHeight() == b.minHeight();
case CSSPropertyMinWidth:
return a.minWidth() == b.minWidth();
- case CSSPropertyMotionOffset:
- return a.motionOffset() == b.motionOffset();
- case CSSPropertyMotionRotation:
- return a.motionRotation() == b.motionRotation();
+ case CSSPropertyOffsetDistance:
+ return a.offsetDistance() == b.offsetDistance();
+ case CSSPropertyOffsetRotation:
+ return a.offsetRotation() == b.offsetRotation();
case CSSPropertyObjectPosition:
return a.objectPosition() == b.objectPosition();
case CSSPropertyOpacity:
@@ -285,6 +285,10 @@ bool CSSPropertyEquality::propertiesEqual(CSSPropertyID prop, const ComputedStyl
return a.perspective() == b.perspective();
case CSSPropertyPerspectiveOrigin:
return a.perspectiveOriginX() == b.perspectiveOriginX() && a.perspectiveOriginY() == b.perspectiveOriginY();
+ case CSSPropertyOffsetAnchor:
+ return a.offsetAnchor() == b.offsetAnchor();
+ case CSSPropertyOffsetPosition:
+ return a.offsetPosition() == b.offsetPosition();
case CSSPropertyWebkitTextStrokeColor:
return a.textStrokeColor() == b.textStrokeColor()
&& a.visitedLinkTextStrokeColor() == b.visitedLinkTextStrokeColor();

Powered by Google App Engine
This is Rietveld 408576698