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

Unified Diff: third_party/WebKit/Source/core/style/StyleMotionData.cpp

Issue 2352273002: CSS Motion Path: offset-anchor and offset-position (Closed)
Patch Set: rebase 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/style/StyleMotionData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleMotionData.cpp b/third_party/WebKit/Source/core/style/StyleMotionData.cpp
index 9644a37d6e8e05feb7332056349fe2406c507277..e49d09e6601920400375deb354083ea313cd12b6 100644
--- a/third_party/WebKit/Source/core/style/StyleMotionData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleMotionData.cpp
@@ -10,7 +10,9 @@ namespace blink {
bool StyleMotionData::operator==(const StyleMotionData& o) const
{
- if (m_distance != o.m_distance
+ if (m_anchor != o.m_anchor
+ || m_position != o.m_position
+ || m_distance != o.m_distance
|| m_rotation != o.m_rotation)
return false;
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleMotionData.h ('k') | third_party/WebKit/Source/core/style/StyleTransformData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698