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/rendering/style/DataEquivalency.h" | 9 #include "core/rendering/style/DataEquivalency.h" |
10 #include "core/rendering/style/RenderStyle.h" | 10 #include "core/rendering/style/RenderStyle.h" |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 case CSSPropertyTransform: | 293 case CSSPropertyTransform: |
294 return a.transform() == b.transform(); | 294 return a.transform() == b.transform(); |
295 case CSSPropertyTransformOrigin: | 295 case CSSPropertyTransformOrigin: |
296 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin
Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); | 296 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin
Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); |
297 case CSSPropertyWidows: | 297 case CSSPropertyWidows: |
298 return a.widows() == b.widows(); | 298 return a.widows() == b.widows(); |
299 case CSSPropertyWidth: | 299 case CSSPropertyWidth: |
300 return a.width() == b.width(); | 300 return a.width() == b.width(); |
301 case CSSPropertyWordSpacing: | 301 case CSSPropertyWordSpacing: |
302 return a.wordSpacing() == b.wordSpacing(); | 302 return a.wordSpacing() == b.wordSpacing(); |
| 303 case CSSPropertyX: |
| 304 return a.svgStyle().x() == b.svgStyle().x(); |
| 305 case CSSPropertyY: |
| 306 return a.svgStyle().y() == b.svgStyle().y(); |
303 case CSSPropertyZIndex: | 307 case CSSPropertyZIndex: |
304 return a.zIndex() == b.zIndex(); | 308 return a.zIndex() == b.zIndex(); |
305 case CSSPropertyZoom: | 309 case CSSPropertyZoom: |
306 return a.zoom() == b.zoom(); | 310 return a.zoom() == b.zoom(); |
307 default: | 311 default: |
308 ASSERT_NOT_REACHED(); | 312 ASSERT_NOT_REACHED(); |
309 return true; | 313 return true; |
310 } | 314 } |
311 } | 315 } |
312 | 316 |
313 } | 317 } |
OLD | NEW |