| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 return a.verticalAlign() == b.verticalAlign() | 244 return a.verticalAlign() == b.verticalAlign() |
| 245 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert
icalAlignLength()); | 245 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert
icalAlignLength()); |
| 246 case CSSPropertyVisibility: | 246 case CSSPropertyVisibility: |
| 247 return a.visibility() == b.visibility(); | 247 return a.visibility() == b.visibility(); |
| 248 case CSSPropertyWebkitBorderHorizontalSpacing: | 248 case CSSPropertyWebkitBorderHorizontalSpacing: |
| 249 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); | 249 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); |
| 250 case CSSPropertyWebkitBorderVerticalSpacing: | 250 case CSSPropertyWebkitBorderVerticalSpacing: |
| 251 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); | 251 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); |
| 252 case CSSPropertyWebkitClipPath: | 252 case CSSPropertyWebkitClipPath: |
| 253 return dataEquivalent(a.clipPath(), b.clipPath()); | 253 return dataEquivalent(a.clipPath(), b.clipPath()); |
| 254 case CSSPropertyWebkitColumnCount: | 254 case CSSPropertyColumnCount: |
| 255 return a.columnCount() == b.columnCount(); | 255 return a.columnCount() == b.columnCount(); |
| 256 case CSSPropertyWebkitColumnGap: | 256 case CSSPropertyColumnGap: |
| 257 return a.columnGap() == b.columnGap(); | 257 return a.columnGap() == b.columnGap(); |
| 258 case CSSPropertyWebkitColumnRuleColor: | 258 case CSSPropertyColumnRuleColor: |
| 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 CSSPropertyColumnRuleWidth: |
| 262 return a.columnRuleWidth() == b.columnRuleWidth(); | 262 return a.columnRuleWidth() == b.columnRuleWidth(); |
| 263 case CSSPropertyWebkitColumnWidth: | 263 case CSSPropertyColumnWidth: |
| 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 CSSPropertyWebkitMaskBoxImageOutset: | 267 case CSSPropertyWebkitMaskBoxImageOutset: |
| 268 return a.maskBoxImageOutset() == b.maskBoxImageOutset(); | 268 return a.maskBoxImageOutset() == b.maskBoxImageOutset(); |
| 269 case CSSPropertyWebkitMaskBoxImageSlice: | 269 case CSSPropertyWebkitMaskBoxImageSlice: |
| 270 return a.maskBoxImageSlices() == b.maskBoxImageSlices(); | 270 return a.maskBoxImageSlices() == b.maskBoxImageSlices(); |
| 271 case CSSPropertyWebkitMaskBoxImageSource: | 271 case CSSPropertyWebkitMaskBoxImageSource: |
| 272 return dataEquivalent(a.maskBoxImageSource(), b.maskBoxImageSource()); | 272 return dataEquivalent(a.maskBoxImageSource(), b.maskBoxImageSource()); |
| 273 case CSSPropertyWebkitMaskBoxImageWidth: | 273 case CSSPropertyWebkitMaskBoxImageWidth: |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 return a.svgStyle().ry() == b.svgStyle().ry(); | 323 return a.svgStyle().ry() == b.svgStyle().ry(); |
| 324 case CSSPropertyZIndex: | 324 case CSSPropertyZIndex: |
| 325 return a.zIndex() == b.zIndex(); | 325 return a.zIndex() == b.zIndex(); |
| 326 default: | 326 default: |
| 327 ASSERT_NOT_REACHED(); | 327 ASSERT_NOT_REACHED(); |
| 328 return true; | 328 return true; |
| 329 } | 329 } |
| 330 } | 330 } |
| 331 | 331 |
| 332 } | 332 } |
| OLD | NEW |