| 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 "core/css/CSSPropertyEquality.h" | 5 #include "core/css/CSSPropertyEquality.h" |
| 6 | 6 |
| 7 #include "core/style/ComputedStyle.h" | 7 #include "core/style/ComputedStyle.h" |
| 8 #include "core/style/DataEquivalency.h" | 8 #include "core/style/DataEquivalency.h" |
| 9 #include "core/style/ShadowList.h" | 9 #include "core/style/ShadowList.h" |
| 10 | 10 |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 return a.top() == b.top(); | 241 return a.top() == b.top(); |
| 242 case CSSPropertyVerticalAlign: | 242 case CSSPropertyVerticalAlign: |
| 243 return a.verticalAlign() == b.verticalAlign() | 243 return a.verticalAlign() == b.verticalAlign() |
| 244 && (a.verticalAlign() != VerticalAlignLength || a.getVerticalAlignLe
ngth() == b.getVerticalAlignLength()); | 244 && (a.verticalAlign() != VerticalAlignLength || a.getVerticalAlignLe
ngth() == b.getVerticalAlignLength()); |
| 245 case CSSPropertyVisibility: | 245 case CSSPropertyVisibility: |
| 246 return a.visibility() == b.visibility(); | 246 return a.visibility() == b.visibility(); |
| 247 case CSSPropertyWebkitBorderHorizontalSpacing: | 247 case CSSPropertyWebkitBorderHorizontalSpacing: |
| 248 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); | 248 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); |
| 249 case CSSPropertyWebkitBorderVerticalSpacing: | 249 case CSSPropertyWebkitBorderVerticalSpacing: |
| 250 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); | 250 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); |
| 251 case CSSPropertyWebkitClipPath: | 251 case CSSPropertyClipPath: |
| 252 return dataEquivalent(a.clipPath(), b.clipPath()); | 252 return dataEquivalent(a.clipPath(), b.clipPath()); |
| 253 case CSSPropertyColumnCount: | 253 case CSSPropertyColumnCount: |
| 254 return a.columnCount() == b.columnCount(); | 254 return a.columnCount() == b.columnCount(); |
| 255 case CSSPropertyColumnGap: | 255 case CSSPropertyColumnGap: |
| 256 return a.columnGap() == b.columnGap(); | 256 return a.columnGap() == b.columnGap(); |
| 257 case CSSPropertyColumnRuleColor: | 257 case CSSPropertyColumnRuleColor: |
| 258 return a.columnRuleColor() == b.columnRuleColor() | 258 return a.columnRuleColor() == b.columnRuleColor() |
| 259 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); | 259 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); |
| 260 case CSSPropertyColumnRuleWidth: | 260 case CSSPropertyColumnRuleWidth: |
| 261 return a.columnRuleWidth() == b.columnRuleWidth(); | 261 return a.columnRuleWidth() == b.columnRuleWidth(); |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 return a.svgStyle().ry() == b.svgStyle().ry(); | 332 return a.svgStyle().ry() == b.svgStyle().ry(); |
| 333 case CSSPropertyZIndex: | 333 case CSSPropertyZIndex: |
| 334 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); | 334 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); |
| 335 default: | 335 default: |
| 336 NOTREACHED(); | 336 NOTREACHED(); |
| 337 return true; | 337 return true; |
| 338 } | 338 } |
| 339 } | 339 } |
| 340 | 340 |
| 341 } // namespace blink | 341 } // namespace blink |
| OLD | NEW |