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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/css/CSSPropertyEquality.h" 5 #include "core/css/CSSPropertyEquality.h"
6 6
7 #include "core/css/CSSValue.h" 7 #include "core/css/CSSValue.h"
8 #include "core/style/ComputedStyle.h" 8 #include "core/style/ComputedStyle.h"
9 #include "core/style/DataEquivalency.h" 9 #include "core/style/DataEquivalency.h"
10 #include "core/style/ShadowList.h" 10 #include "core/style/ShadowList.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 return a.MinWidth() == b.MinWidth(); 193 return a.MinWidth() == b.MinWidth();
194 case CSSPropertyObjectPosition: 194 case CSSPropertyObjectPosition:
195 return a.ObjectPosition() == b.ObjectPosition(); 195 return a.ObjectPosition() == b.ObjectPosition();
196 case CSSPropertyOffsetAnchor: 196 case CSSPropertyOffsetAnchor:
197 return a.OffsetAnchor() == b.OffsetAnchor(); 197 return a.OffsetAnchor() == b.OffsetAnchor();
198 case CSSPropertyOffsetDistance: 198 case CSSPropertyOffsetDistance:
199 return a.OffsetDistance() == b.OffsetDistance(); 199 return a.OffsetDistance() == b.OffsetDistance();
200 case CSSPropertyOffsetPosition: 200 case CSSPropertyOffsetPosition:
201 return a.OffsetPosition() == b.OffsetPosition(); 201 return a.OffsetPosition() == b.OffsetPosition();
202 case CSSPropertyOffsetRotate: 202 case CSSPropertyOffsetRotate:
203 case CSSPropertyOffsetRotation: 203 return a.OffsetRotate() == b.OffsetRotate();
204 return a.OffsetRotation() == b.OffsetRotation();
205 case CSSPropertyOpacity: 204 case CSSPropertyOpacity:
206 return a.Opacity() == b.Opacity(); 205 return a.Opacity() == b.Opacity();
207 case CSSPropertyOrder: 206 case CSSPropertyOrder:
208 return a.Order() == b.Order(); 207 return a.Order() == b.Order();
209 case CSSPropertyOrphans: 208 case CSSPropertyOrphans:
210 return a.Orphans() == b.Orphans(); 209 return a.Orphans() == b.Orphans();
211 case CSSPropertyOutlineColor: 210 case CSSPropertyOutlineColor:
212 return a.OutlineColor() == b.OutlineColor() && 211 return a.OutlineColor() == b.OutlineColor() &&
213 a.VisitedLinkOutlineColor() == b.VisitedLinkOutlineColor(); 212 a.VisitedLinkOutlineColor() == b.VisitedLinkOutlineColor();
214 case CSSPropertyOutlineOffset: 213 case CSSPropertyOutlineOffset:
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 377
379 bool CSSPropertyEquality::RegisteredCustomPropertiesEqual( 378 bool CSSPropertyEquality::RegisteredCustomPropertiesEqual(
380 const AtomicString& property_name, 379 const AtomicString& property_name,
381 const ComputedStyle& a, 380 const ComputedStyle& a,
382 const ComputedStyle& b) { 381 const ComputedStyle& b) {
383 return DataEquivalent(a.GetRegisteredVariable(property_name), 382 return DataEquivalent(a.GetRegisteredVariable(property_name),
384 b.GetRegisteredVariable(property_name)); 383 b.GetRegisteredVariable(property_name));
385 } 384 }
386 385
387 } // namespace blink 386 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698