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