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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 return a.columnGap() == b.columnGap(); | 257 return a.columnGap() == b.columnGap(); |
258 case CSSPropertyWebkitColumnRuleColor: | 258 case CSSPropertyWebkitColumnRuleColor: |
259 return a.columnRuleColor() == b.columnRuleColor() | 259 return a.columnRuleColor() == b.columnRuleColor() |
260 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); | 260 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); |
261 case CSSPropertyWebkitColumnRuleWidth: | 261 case CSSPropertyWebkitColumnRuleWidth: |
262 return a.columnRuleWidth() == b.columnRuleWidth(); | 262 return a.columnRuleWidth() == b.columnRuleWidth(); |
263 case CSSPropertyWebkitColumnWidth: | 263 case CSSPropertyWebkitColumnWidth: |
264 return a.columnWidth() == b.columnWidth(); | 264 return a.columnWidth() == b.columnWidth(); |
265 case CSSPropertyWebkitFilter: | 265 case CSSPropertyWebkitFilter: |
266 return a.filter() == b.filter(); | 266 return a.filter() == b.filter(); |
| 267 case CSSPropertyBackdropFilter: |
| 268 return a.backdropFilter() == b.backdropFilter(); |
267 case CSSPropertyWebkitMaskBoxImageOutset: | 269 case CSSPropertyWebkitMaskBoxImageOutset: |
268 return a.maskBoxImageOutset() == b.maskBoxImageOutset(); | 270 return a.maskBoxImageOutset() == b.maskBoxImageOutset(); |
269 case CSSPropertyWebkitMaskBoxImageSlice: | 271 case CSSPropertyWebkitMaskBoxImageSlice: |
270 return a.maskBoxImageSlices() == b.maskBoxImageSlices(); | 272 return a.maskBoxImageSlices() == b.maskBoxImageSlices(); |
271 case CSSPropertyWebkitMaskBoxImageSource: | 273 case CSSPropertyWebkitMaskBoxImageSource: |
272 return dataEquivalent(a.maskBoxImageSource(), b.maskBoxImageSource()); | 274 return dataEquivalent(a.maskBoxImageSource(), b.maskBoxImageSource()); |
273 case CSSPropertyWebkitMaskBoxImageWidth: | 275 case CSSPropertyWebkitMaskBoxImageWidth: |
274 return a.maskBoxImageWidth() == b.maskBoxImageWidth(); | 276 return a.maskBoxImageWidth() == b.maskBoxImageWidth(); |
275 case CSSPropertyWebkitMaskImage: | 277 case CSSPropertyWebkitMaskImage: |
276 return dataEquivalent(a.maskImage(), b.maskImage()); | 278 return dataEquivalent(a.maskImage(), b.maskImage()); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 return a.svgStyle().ry() == b.svgStyle().ry(); | 331 return a.svgStyle().ry() == b.svgStyle().ry(); |
330 case CSSPropertyZIndex: | 332 case CSSPropertyZIndex: |
331 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); | 333 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); |
332 default: | 334 default: |
333 ASSERT_NOT_REACHED(); | 335 ASSERT_NOT_REACHED(); |
334 return true; | 336 return true; |
335 } | 337 } |
336 } | 338 } |
337 | 339 |
338 } | 340 } |
OLD | NEW |