| 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 "sky/engine/config.h" | 5 #include "sky/engine/config.h" |
| 6 #include "sky/engine/core/animation/css/CSSPropertyEquality.h" | 6 #include "sky/engine/core/animation/css/CSSPropertyEquality.h" |
| 7 | 7 |
| 8 #include "sky/engine/core/animation/css/CSSAnimations.h" | 8 #include "sky/engine/core/animation/css/CSSAnimations.h" |
| 9 #include "sky/engine/core/rendering/style/DataEquivalency.h" | 9 #include "sky/engine/core/rendering/style/DataEquivalency.h" |
| 10 #include "sky/engine/core/rendering/style/RenderStyle.h" | 10 #include "sky/engine/core/rendering/style/RenderStyle.h" |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 case CSSPropertyPerspective: | 192 case CSSPropertyPerspective: |
| 193 return a.perspective() == b.perspective(); | 193 return a.perspective() == b.perspective(); |
| 194 case CSSPropertyPerspectiveOrigin: | 194 case CSSPropertyPerspectiveOrigin: |
| 195 return a.perspectiveOriginX() == b.perspectiveOriginX() && a.perspective
OriginY() == b.perspectiveOriginY(); | 195 return a.perspectiveOriginX() == b.perspectiveOriginX() && a.perspective
OriginY() == b.perspectiveOriginY(); |
| 196 case CSSPropertyWebkitTextStrokeColor: | 196 case CSSPropertyWebkitTextStrokeColor: |
| 197 return a.textStrokeColor().resolve(a.color()) == b.textStrokeColor().res
olve(b.color()); | 197 return a.textStrokeColor().resolve(a.color()) == b.textStrokeColor().res
olve(b.color()); |
| 198 case CSSPropertyTransform: | 198 case CSSPropertyTransform: |
| 199 return a.transform() == b.transform(); | 199 return a.transform() == b.transform(); |
| 200 case CSSPropertyTransformOrigin: | 200 case CSSPropertyTransformOrigin: |
| 201 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin
Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); | 201 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin
Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); |
| 202 case CSSPropertyWidows: | |
| 203 return a.widows() == b.widows(); | |
| 204 case CSSPropertyWidth: | 202 case CSSPropertyWidth: |
| 205 return a.width() == b.width(); | 203 return a.width() == b.width(); |
| 206 case CSSPropertyWordSpacing: | 204 case CSSPropertyWordSpacing: |
| 207 return a.wordSpacing() == b.wordSpacing(); | 205 return a.wordSpacing() == b.wordSpacing(); |
| 208 case CSSPropertyZIndex: | 206 case CSSPropertyZIndex: |
| 209 return a.zIndex() == b.zIndex(); | 207 return a.zIndex() == b.zIndex(); |
| 210 default: | 208 default: |
| 211 ASSERT_NOT_REACHED(); | 209 ASSERT_NOT_REACHED(); |
| 212 return true; | 210 return true; |
| 213 } | 211 } |
| 214 } | 212 } |
| 215 | 213 |
| 216 } | 214 } |
| OLD | NEW |