| 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/animation/css/CSSPropertyEquality.h" | 5 #include "core/animation/css/CSSPropertyEquality.h" |
| 6 | 6 |
| 7 #include "core/animation/css/CSSAnimations.h" | 7 #include "core/animation/css/CSSAnimations.h" |
| 8 #include "core/style/DataEquivalency.h" | 8 #include "core/style/DataEquivalency.h" |
| 9 #include "core/style/ComputedStyle.h" | 9 #include "core/style/ComputedStyle.h" |
| 10 #include "core/style/ShadowList.h" | 10 #include "core/style/ShadowList.h" |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 return a.textDecorationColor() == b.textDecorationColor() | 233 return a.textDecorationColor() == b.textDecorationColor() |
| 234 && a.visitedLinkTextDecorationColor() == b.visitedLinkTextDecoration
Color(); | 234 && a.visitedLinkTextDecorationColor() == b.visitedLinkTextDecoration
Color(); |
| 235 case CSSPropertyTextIndent: | 235 case CSSPropertyTextIndent: |
| 236 return a.textIndent() == b.textIndent(); | 236 return a.textIndent() == b.textIndent(); |
| 237 case CSSPropertyTextShadow: | 237 case CSSPropertyTextShadow: |
| 238 return dataEquivalent(a.textShadow(), b.textShadow()); | 238 return dataEquivalent(a.textShadow(), b.textShadow()); |
| 239 case CSSPropertyTop: | 239 case CSSPropertyTop: |
| 240 return a.top() == b.top(); | 240 return a.top() == b.top(); |
| 241 case CSSPropertyVerticalAlign: | 241 case CSSPropertyVerticalAlign: |
| 242 return a.verticalAlign() == b.verticalAlign() | 242 return a.verticalAlign() == b.verticalAlign() |
| 243 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert
icalAlignLength()); | 243 && (a.verticalAlign() != VerticalAlignLength || a.getVerticalAlignLe
ngth() == b.getVerticalAlignLength()); |
| 244 case CSSPropertyVisibility: | 244 case CSSPropertyVisibility: |
| 245 return a.visibility() == b.visibility(); | 245 return a.visibility() == b.visibility(); |
| 246 case CSSPropertyWebkitBorderHorizontalSpacing: | 246 case CSSPropertyWebkitBorderHorizontalSpacing: |
| 247 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); | 247 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); |
| 248 case CSSPropertyWebkitBorderVerticalSpacing: | 248 case CSSPropertyWebkitBorderVerticalSpacing: |
| 249 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); | 249 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); |
| 250 case CSSPropertyWebkitClipPath: | 250 case CSSPropertyWebkitClipPath: |
| 251 return dataEquivalent(a.clipPath(), b.clipPath()); | 251 return dataEquivalent(a.clipPath(), b.clipPath()); |
| 252 case CSSPropertyColumnCount: | 252 case CSSPropertyColumnCount: |
| 253 return a.columnCount() == b.columnCount(); | 253 return a.columnCount() == b.columnCount(); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 return a.svgStyle().ry() == b.svgStyle().ry(); | 331 return a.svgStyle().ry() == b.svgStyle().ry(); |
| 332 case CSSPropertyZIndex: | 332 case CSSPropertyZIndex: |
| 333 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); | 333 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a
.zIndex() == b.zIndex()); |
| 334 default: | 334 default: |
| 335 ASSERT_NOT_REACHED(); | 335 ASSERT_NOT_REACHED(); |
| 336 return true; | 336 return true; |
| 337 } | 337 } |
| 338 } | 338 } |
| 339 | 339 |
| 340 } // namespace blink | 340 } // namespace blink |
| OLD | NEW |