| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 case CSSPropertyMinHeight: | 189 case CSSPropertyMinHeight: |
| 190 return a.minHeight() == b.minHeight(); | 190 return a.minHeight() == b.minHeight(); |
| 191 case CSSPropertyMinWidth: | 191 case CSSPropertyMinWidth: |
| 192 return a.minWidth() == b.minWidth(); | 192 return a.minWidth() == b.minWidth(); |
| 193 case CSSPropertyObjectPosition: | 193 case CSSPropertyObjectPosition: |
| 194 return a.objectPosition() == b.objectPosition(); | 194 return a.objectPosition() == b.objectPosition(); |
| 195 case CSSPropertyOffsetAnchor: | 195 case CSSPropertyOffsetAnchor: |
| 196 return a.offsetAnchor() == b.offsetAnchor(); | 196 return a.offsetAnchor() == b.offsetAnchor(); |
| 197 case CSSPropertyOffsetDistance: | 197 case CSSPropertyOffsetDistance: |
| 198 return a.offsetDistance() == b.offsetDistance(); | 198 return a.offsetDistance() == b.offsetDistance(); |
| 199 case CSSPropertyOffsetPath: |
| 200 return dataEquivalent(a.offsetPath(), b.offsetPath()); |
| 199 case CSSPropertyOffsetPosition: | 201 case CSSPropertyOffsetPosition: |
| 200 return a.offsetPosition() == b.offsetPosition(); | 202 return a.offsetPosition() == b.offsetPosition(); |
| 201 case CSSPropertyOffsetRotate: | 203 case CSSPropertyOffsetRotate: |
| 202 case CSSPropertyOffsetRotation: | 204 case CSSPropertyOffsetRotation: |
| 203 return a.offsetRotation() == b.offsetRotation(); | 205 return a.offsetRotation() == b.offsetRotation(); |
| 204 case CSSPropertyOpacity: | 206 case CSSPropertyOpacity: |
| 205 return a.opacity() == b.opacity(); | 207 return a.opacity() == b.opacity(); |
| 206 case CSSPropertyOrder: | 208 case CSSPropertyOrder: |
| 207 return a.order() == b.order(); | 209 return a.order() == b.order(); |
| 208 case CSSPropertyOrphans: | 210 case CSSPropertyOrphans: |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 case CSSPropertyZIndex: | 371 case CSSPropertyZIndex: |
| 370 return a.hasAutoZIndex() == b.hasAutoZIndex() && | 372 return a.hasAutoZIndex() == b.hasAutoZIndex() && |
| 371 (a.hasAutoZIndex() || a.zIndex() == b.zIndex()); | 373 (a.hasAutoZIndex() || a.zIndex() == b.zIndex()); |
| 372 default: | 374 default: |
| 373 NOTREACHED(); | 375 NOTREACHED(); |
| 374 return true; | 376 return true; |
| 375 } | 377 } |
| 376 } | 378 } |
| 377 | 379 |
| 378 } // namespace blink | 380 } // namespace blink |
| OLD | NEW |