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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 return a.verticalAlign() == b.verticalAlign() | 245 return a.verticalAlign() == b.verticalAlign() |
246 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert
icalAlignLength()); | 246 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert
icalAlignLength()); |
247 case CSSPropertyVisibility: | 247 case CSSPropertyVisibility: |
248 return a.visibility() == b.visibility(); | 248 return a.visibility() == b.visibility(); |
249 case CSSPropertyWebkitBackgroundSize: | 249 case CSSPropertyWebkitBackgroundSize: |
250 return fillLayersEqual<CSSPropertyWebkitBackgroundSize>(a.backgroundLaye
rs(), b.backgroundLayers()); | 250 return fillLayersEqual<CSSPropertyWebkitBackgroundSize>(a.backgroundLaye
rs(), b.backgroundLayers()); |
251 case CSSPropertyWebkitBorderHorizontalSpacing: | 251 case CSSPropertyWebkitBorderHorizontalSpacing: |
252 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); | 252 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); |
253 case CSSPropertyWebkitBorderVerticalSpacing: | 253 case CSSPropertyWebkitBorderVerticalSpacing: |
254 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); | 254 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); |
255 case CSSPropertyWebkitBoxShadow: | |
256 return dataEquivalent(a.boxShadow(), b.boxShadow()); | |
257 case CSSPropertyWebkitClipPath: | 255 case CSSPropertyWebkitClipPath: |
258 return dataEquivalent(a.clipPath(), b.clipPath()); | 256 return dataEquivalent(a.clipPath(), b.clipPath()); |
259 case CSSPropertyWebkitColumnCount: | 257 case CSSPropertyWebkitColumnCount: |
260 return a.columnCount() == b.columnCount(); | 258 return a.columnCount() == b.columnCount(); |
261 case CSSPropertyWebkitColumnGap: | 259 case CSSPropertyWebkitColumnGap: |
262 return a.columnGap() == b.columnGap(); | 260 return a.columnGap() == b.columnGap(); |
263 case CSSPropertyWebkitColumnRuleColor: | 261 case CSSPropertyWebkitColumnRuleColor: |
264 return a.columnRuleColor() == b.columnRuleColor() | 262 return a.columnRuleColor() == b.columnRuleColor() |
265 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); | 263 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); |
266 case CSSPropertyWebkitColumnRuleWidth: | 264 case CSSPropertyWebkitColumnRuleWidth: |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 return a.svgStyle().ry() == b.svgStyle().ry(); | 326 return a.svgStyle().ry() == b.svgStyle().ry(); |
329 case CSSPropertyZIndex: | 327 case CSSPropertyZIndex: |
330 return a.zIndex() == b.zIndex(); | 328 return a.zIndex() == b.zIndex(); |
331 default: | 329 default: |
332 ASSERT_NOT_REACHED(); | 330 ASSERT_NOT_REACHED(); |
333 return true; | 331 return true; |
334 } | 332 } |
335 } | 333 } |
336 | 334 |
337 } | 335 } |
OLD | NEW |