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/layout/style/DataEquivalency.h" | 9 #include "core/layout/style/DataEquivalency.h" |
10 #include "core/layout/style/LayoutStyle.h" | 10 #include "core/layout/style/LayoutStyle.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 CSSPropertyCx: |
| 304 return a.svgStyle().cx() == b.svgStyle().cx(); |
| 305 case CSSPropertyCy: |
| 306 return a.svgStyle().cy() == b.svgStyle().cy(); |
303 case CSSPropertyX: | 307 case CSSPropertyX: |
304 return a.svgStyle().x() == b.svgStyle().x(); | 308 return a.svgStyle().x() == b.svgStyle().x(); |
305 case CSSPropertyY: | 309 case CSSPropertyY: |
306 return a.svgStyle().y() == b.svgStyle().y(); | 310 return a.svgStyle().y() == b.svgStyle().y(); |
| 311 case CSSPropertyR: |
| 312 return a.svgStyle().r() == b.svgStyle().r(); |
307 case CSSPropertyRx: | 313 case CSSPropertyRx: |
308 return a.svgStyle().rx() == b.svgStyle().rx(); | 314 return a.svgStyle().rx() == b.svgStyle().rx(); |
309 case CSSPropertyRy: | 315 case CSSPropertyRy: |
310 return a.svgStyle().ry() == b.svgStyle().ry(); | 316 return a.svgStyle().ry() == b.svgStyle().ry(); |
311 case CSSPropertyZIndex: | 317 case CSSPropertyZIndex: |
312 return a.zIndex() == b.zIndex(); | 318 return a.zIndex() == b.zIndex(); |
313 default: | 319 default: |
314 ASSERT_NOT_REACHED(); | 320 ASSERT_NOT_REACHED(); |
315 return true; | 321 return true; |
316 } | 322 } |
317 } | 323 } |
318 | 324 |
319 } | 325 } |
OLD | NEW |