Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: Source/core/animation/css/CSSPropertyEquality.cpp

Issue 896773002: [svg2] Make 'x' and 'y' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "config.h" 5 #include "config.h"
6 #include "core/animation/css/CSSPropertyEquality.h" 6 #include "core/animation/css/CSSPropertyEquality.h"
7 7
8 #include "core/animation/css/CSSAnimations.h" 8 #include "core/animation/css/CSSAnimations.h"
9 #include "core/layout/style/DataEquivalency.h" 9 #include "core/layout/style/DataEquivalency.h"
10 #include "core/layout/style/LayoutStyle.h" 10 #include "core/layout/style/LayoutStyle.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 case CSSPropertyTransform: 293 case CSSPropertyTransform:
294 return a.transform() == b.transform(); 294 return a.transform() == b.transform();
295 case CSSPropertyTransformOrigin: 295 case CSSPropertyTransformOrigin:
296 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ(); 296 return a.transformOriginX() == b.transformOriginX() && a.transformOrigin Y() == b.transformOriginY() && a.transformOriginZ() == b.transformOriginZ();
297 case CSSPropertyWidows: 297 case CSSPropertyWidows:
298 return a.widows() == b.widows(); 298 return a.widows() == b.widows();
299 case CSSPropertyWidth: 299 case CSSPropertyWidth:
300 return a.width() == b.width(); 300 return a.width() == b.width();
301 case CSSPropertyWordSpacing: 301 case CSSPropertyWordSpacing:
302 return a.wordSpacing() == b.wordSpacing(); 302 return a.wordSpacing() == b.wordSpacing();
303 case CSSPropertyX:
304 return a.svgStyle().x() == b.svgStyle().x();
305 case CSSPropertyY:
306 return a.svgStyle().y() == b.svgStyle().y();
303 case CSSPropertyZIndex: 307 case CSSPropertyZIndex:
304 return a.zIndex() == b.zIndex(); 308 return a.zIndex() == b.zIndex();
305 case CSSPropertyZoom: 309 case CSSPropertyZoom:
306 return a.zoom() == b.zoom(); 310 return a.zoom() == b.zoom();
307 default: 311 default:
308 ASSERT_NOT_REACHED(); 312 ASSERT_NOT_REACHED();
309 return true; 313 return true;
310 } 314 }
311 } 315 }
312 316
313 } 317 }
OLDNEW
« no previous file with comments | « Source/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698