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

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

Issue 2692383004: Support animating CSS property "order" (Closed)
Patch Set: orderorder Created 3 years, 10 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/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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 CSSPropertyOffsetRotate:
202 case CSSPropertyOffsetRotation: 202 case CSSPropertyOffsetRotation:
203 return a.offsetRotation() == b.offsetRotation(); 203 return a.offsetRotation() == b.offsetRotation();
204 case CSSPropertyOpacity: 204 case CSSPropertyOpacity:
205 return a.opacity() == b.opacity(); 205 return a.opacity() == b.opacity();
206 case CSSPropertyOrder:
207 return a.order() == b.order();
206 case CSSPropertyOrphans: 208 case CSSPropertyOrphans:
207 return a.orphans() == b.orphans(); 209 return a.orphans() == b.orphans();
208 case CSSPropertyOutlineColor: 210 case CSSPropertyOutlineColor:
209 return a.outlineColor() == b.outlineColor() && 211 return a.outlineColor() == b.outlineColor() &&
210 a.visitedLinkOutlineColor() == b.visitedLinkOutlineColor(); 212 a.visitedLinkOutlineColor() == b.visitedLinkOutlineColor();
211 case CSSPropertyOutlineOffset: 213 case CSSPropertyOutlineOffset:
212 return a.outlineOffset() == b.outlineOffset(); 214 return a.outlineOffset() == b.outlineOffset();
213 case CSSPropertyOutlineWidth: 215 case CSSPropertyOutlineWidth:
214 return a.outlineWidth() == b.outlineWidth(); 216 return a.outlineWidth() == b.outlineWidth();
215 case CSSPropertyPaddingBottom: 217 case CSSPropertyPaddingBottom:
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 case CSSPropertyZIndex: 369 case CSSPropertyZIndex:
368 return a.hasAutoZIndex() == b.hasAutoZIndex() && 370 return a.hasAutoZIndex() == b.hasAutoZIndex() &&
369 (a.hasAutoZIndex() || a.zIndex() == b.zIndex()); 371 (a.hasAutoZIndex() || a.zIndex() == b.zIndex());
370 default: 372 default:
371 NOTREACHED(); 373 NOTREACHED();
372 return true; 374 return true;
373 } 375 }
374 } 376 }
375 377
376 } // namespace blink 378 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698