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/RenderStyle.h" | 9 #include "core/rendering/style/RenderStyle.h" |
10 #include "core/rendering/style/ShadowList.h" | 10 #include "core/rendering/style/ShadowList.h" |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 case CSSPropertyWebkitMaskBoxImageWidth: | 267 case CSSPropertyWebkitMaskBoxImageWidth: |
268 return a.maskBoxImageWidth() == b.maskBoxImageWidth(); | 268 return a.maskBoxImageWidth() == b.maskBoxImageWidth(); |
269 case CSSPropertyWebkitMaskImage: | 269 case CSSPropertyWebkitMaskImage: |
270 return ptrsOrValuesEqual<StyleImage*>(a.maskImage(), b.maskImage()); | 270 return ptrsOrValuesEqual<StyleImage*>(a.maskImage(), b.maskImage()); |
271 case CSSPropertyWebkitMaskPositionX: | 271 case CSSPropertyWebkitMaskPositionX: |
272 return fillLayersEqual<CSSPropertyWebkitMaskPositionX>(a.maskLayers(), b
.maskLayers()); | 272 return fillLayersEqual<CSSPropertyWebkitMaskPositionX>(a.maskLayers(), b
.maskLayers()); |
273 case CSSPropertyWebkitMaskPositionY: | 273 case CSSPropertyWebkitMaskPositionY: |
274 return fillLayersEqual<CSSPropertyWebkitMaskPositionY>(a.maskLayers(), b
.maskLayers()); | 274 return fillLayersEqual<CSSPropertyWebkitMaskPositionY>(a.maskLayers(), b
.maskLayers()); |
275 case CSSPropertyWebkitMaskSize: | 275 case CSSPropertyWebkitMaskSize: |
276 return fillLayersEqual<CSSPropertyWebkitMaskSize>(a.maskLayers(), b.mask
Layers()); | 276 return fillLayersEqual<CSSPropertyWebkitMaskSize>(a.maskLayers(), b.mask
Layers()); |
277 case CSSPropertyWebkitPerspective: | 277 case CSSPropertyPerspective: |
278 return a.perspective() == b.perspective(); | 278 return a.perspective() == b.perspective(); |
279 case CSSPropertyWebkitPerspectiveOriginX: | 279 case CSSPropertyWebkitPerspectiveOriginX: |
280 return a.perspectiveOriginX() == b.perspectiveOriginX(); | 280 return a.perspectiveOriginX() == b.perspectiveOriginX(); |
281 case CSSPropertyWebkitPerspectiveOriginY: | 281 case CSSPropertyWebkitPerspectiveOriginY: |
282 return a.perspectiveOriginY() == b.perspectiveOriginY(); | 282 return a.perspectiveOriginY() == b.perspectiveOriginY(); |
283 case CSSPropertyWebkitTextStrokeColor: | 283 case CSSPropertyWebkitTextStrokeColor: |
284 return a.textStrokeColor().resolve(a.color()) == b.textStrokeColor().res
olve(b.color()) | 284 return a.textStrokeColor().resolve(a.color()) == b.textStrokeColor().res
olve(b.color()) |
285 && a.visitedLinkTextStrokeColor().resolve(a.color()) == b.visitedLin
kTextStrokeColor().resolve(b.color()); | 285 && a.visitedLinkTextStrokeColor().resolve(a.color()) == b.visitedLin
kTextStrokeColor().resolve(b.color()); |
286 case CSSPropertyWebkitTransform: | 286 case CSSPropertyWebkitTransform: |
287 return a.transform() == b.transform(); | 287 return a.transform() == b.transform(); |
(...skipping 13 matching lines...) Expand all Loading... |
301 return a.zIndex() == b.zIndex(); | 301 return a.zIndex() == b.zIndex(); |
302 case CSSPropertyZoom: | 302 case CSSPropertyZoom: |
303 return a.zoom() == b.zoom(); | 303 return a.zoom() == b.zoom(); |
304 default: | 304 default: |
305 ASSERT_NOT_REACHED(); | 305 ASSERT_NOT_REACHED(); |
306 return true; | 306 return true; |
307 } | 307 } |
308 } | 308 } |
309 | 309 |
310 } | 310 } |
OLD | NEW |