| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 case CSSPropertyMinWidth: | 188 case CSSPropertyMinWidth: |
| 189 return a.minWidth() == b.minWidth(); | 189 return a.minWidth() == b.minWidth(); |
| 190 case CSSPropertyObjectPosition: | 190 case CSSPropertyObjectPosition: |
| 191 return a.objectPosition() == b.objectPosition(); | 191 return a.objectPosition() == b.objectPosition(); |
| 192 case CSSPropertyOffsetAnchor: | 192 case CSSPropertyOffsetAnchor: |
| 193 return a.offsetAnchor() == b.offsetAnchor(); | 193 return a.offsetAnchor() == b.offsetAnchor(); |
| 194 case CSSPropertyOffsetDistance: | 194 case CSSPropertyOffsetDistance: |
| 195 return a.offsetDistance() == b.offsetDistance(); | 195 return a.offsetDistance() == b.offsetDistance(); |
| 196 case CSSPropertyOffsetPosition: | 196 case CSSPropertyOffsetPosition: |
| 197 return a.offsetPosition() == b.offsetPosition(); | 197 return a.offsetPosition() == b.offsetPosition(); |
| 198 case CSSPropertyOffsetRotate: |
| 198 case CSSPropertyOffsetRotation: | 199 case CSSPropertyOffsetRotation: |
| 199 return a.offsetRotation() == b.offsetRotation(); | 200 return a.offsetRotation() == b.offsetRotation(); |
| 200 case CSSPropertyOpacity: | 201 case CSSPropertyOpacity: |
| 201 return a.opacity() == b.opacity(); | 202 return a.opacity() == b.opacity(); |
| 202 case CSSPropertyOrphans: | 203 case CSSPropertyOrphans: |
| 203 return a.orphans() == b.orphans(); | 204 return a.orphans() == b.orphans(); |
| 204 case CSSPropertyOutlineColor: | 205 case CSSPropertyOutlineColor: |
| 205 return a.outlineColor() == b.outlineColor() && | 206 return a.outlineColor() == b.outlineColor() && |
| 206 a.visitedLinkOutlineColor() == b.visitedLinkOutlineColor(); | 207 a.visitedLinkOutlineColor() == b.visitedLinkOutlineColor(); |
| 207 case CSSPropertyOutlineOffset: | 208 case CSSPropertyOutlineOffset: |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 case CSSPropertyZIndex: | 364 case CSSPropertyZIndex: |
| 364 return a.hasAutoZIndex() == b.hasAutoZIndex() && | 365 return a.hasAutoZIndex() == b.hasAutoZIndex() && |
| 365 (a.hasAutoZIndex() || a.zIndex() == b.zIndex()); | 366 (a.hasAutoZIndex() || a.zIndex() == b.zIndex()); |
| 366 default: | 367 default: |
| 367 NOTREACHED(); | 368 NOTREACHED(); |
| 368 return true; | 369 return true; |
| 369 } | 370 } |
| 370 } | 371 } |
| 371 | 372 |
| 372 } // namespace blink | 373 } // namespace blink |
| OLD | NEW |