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

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

Issue 2555543002: CSS Motion Path: Support offset-rotate in addition to offset-rotation (Closed)
Patch Set: reformat Created 4 years 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/style/ComputedStyle.h" 7 #include "core/style/ComputedStyle.h"
8 #include "core/style/DataEquivalency.h" 8 #include "core/style/DataEquivalency.h"
9 #include "core/style/ShadowList.h" 9 #include "core/style/ShadowList.h"
10 10
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 case CSSPropertyMinWidth: 191 case CSSPropertyMinWidth:
192 return a.minWidth() == b.minWidth(); 192 return a.minWidth() == b.minWidth();
193 case CSSPropertyObjectPosition: 193 case CSSPropertyObjectPosition:
194 return a.objectPosition() == b.objectPosition(); 194 return a.objectPosition() == b.objectPosition();
195 case CSSPropertyOffsetAnchor: 195 case CSSPropertyOffsetAnchor:
196 return a.offsetAnchor() == b.offsetAnchor(); 196 return a.offsetAnchor() == b.offsetAnchor();
197 case CSSPropertyOffsetDistance: 197 case CSSPropertyOffsetDistance:
198 return a.offsetDistance() == b.offsetDistance(); 198 return a.offsetDistance() == b.offsetDistance();
199 case CSSPropertyOffsetPosition: 199 case CSSPropertyOffsetPosition:
200 return a.offsetPosition() == b.offsetPosition(); 200 return a.offsetPosition() == b.offsetPosition();
201 case CSSPropertyOffsetRotate:
201 case CSSPropertyOffsetRotation: 202 case CSSPropertyOffsetRotation:
202 return a.offsetRotation() == b.offsetRotation(); 203 return a.offsetRotation() == b.offsetRotation();
203 case CSSPropertyOpacity: 204 case CSSPropertyOpacity:
204 return a.opacity() == b.opacity(); 205 return a.opacity() == b.opacity();
205 case CSSPropertyOrphans: 206 case CSSPropertyOrphans:
206 return a.orphans() == b.orphans(); 207 return a.orphans() == b.orphans();
207 case CSSPropertyOutlineColor: 208 case CSSPropertyOutlineColor:
208 return a.outlineColor() == b.outlineColor() && 209 return a.outlineColor() == b.outlineColor() &&
209 a.visitedLinkOutlineColor() == b.visitedLinkOutlineColor(); 210 a.visitedLinkOutlineColor() == b.visitedLinkOutlineColor();
210 case CSSPropertyOutlineOffset: 211 case CSSPropertyOutlineOffset:
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 case CSSPropertyZIndex: 367 case CSSPropertyZIndex:
367 return a.hasAutoZIndex() == b.hasAutoZIndex() && 368 return a.hasAutoZIndex() == b.hasAutoZIndex() &&
368 (a.hasAutoZIndex() || a.zIndex() == b.zIndex()); 369 (a.hasAutoZIndex() || a.zIndex() == b.zIndex());
369 default: 370 default:
370 NOTREACHED(); 371 NOTREACHED();
371 return true; 372 return true;
372 } 373 }
373 } 374 }
374 375
375 } // namespace blink 376 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698