| OLD | NEW |
| 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 "config.h" | 5 #include "config.h" |
| 6 #include "core/animation/css/CSSPropertyEquality.h" | 6 #include "core/animation/css/CSSPropertyEquality.h" |
| 7 | 7 |
| 8 #include "core/animation/css/CSSAnimations.h" | 8 #include "core/animation/css/CSSAnimations.h" |
| 9 #include "core/style/DataEquivalency.h" | 9 #include "core/style/DataEquivalency.h" |
| 10 #include "core/style/ComputedStyle.h" | 10 #include "core/style/ComputedStyle.h" |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 return a.svgStyle().x() == b.svgStyle().x(); | 315 return a.svgStyle().x() == b.svgStyle().x(); |
| 316 case CSSPropertyY: | 316 case CSSPropertyY: |
| 317 return a.svgStyle().y() == b.svgStyle().y(); | 317 return a.svgStyle().y() == b.svgStyle().y(); |
| 318 case CSSPropertyR: | 318 case CSSPropertyR: |
| 319 return a.svgStyle().r() == b.svgStyle().r(); | 319 return a.svgStyle().r() == b.svgStyle().r(); |
| 320 case CSSPropertyRx: | 320 case CSSPropertyRx: |
| 321 return a.svgStyle().rx() == b.svgStyle().rx(); | 321 return a.svgStyle().rx() == b.svgStyle().rx(); |
| 322 case CSSPropertyRy: | 322 case CSSPropertyRy: |
| 323 return a.svgStyle().ry() == b.svgStyle().ry(); | 323 return a.svgStyle().ry() == b.svgStyle().ry(); |
| 324 case CSSPropertyZIndex: | 324 case CSSPropertyZIndex: |
| 325 return a.zIndex() == b.zIndex(); | 325 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); |
| 326 default: | 326 default: |
| 327 ASSERT_NOT_REACHED(); | 327 ASSERT_NOT_REACHED(); |
| 328 return true; | 328 return true; |
| 329 } | 329 } |
| 330 } | 330 } |
| 331 | 331 |
| 332 } | 332 } |
| OLD | NEW |