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

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

Issue 955033002: [svg2] Make 'rx' and 'ry' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fixes Created 5 years, 9 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 303 case CSSPropertyX:
304 return a.svgStyle().x() == b.svgStyle().x(); 304 return a.svgStyle().x() == b.svgStyle().x();
305 case CSSPropertyY: 305 case CSSPropertyY:
306 return a.svgStyle().y() == b.svgStyle().y(); 306 return a.svgStyle().y() == b.svgStyle().y();
307 case CSSPropertyRx:
308 return a.svgStyle().rx() == b.svgStyle().rx();
309 case CSSPropertyRy:
310 return a.svgStyle().ry() == b.svgStyle().ry();
307 case CSSPropertyZIndex: 311 case CSSPropertyZIndex:
308 return a.zIndex() == b.zIndex(); 312 return a.zIndex() == b.zIndex();
309 default: 313 default:
310 ASSERT_NOT_REACHED(); 314 ASSERT_NOT_REACHED();
311 return true; 315 return true;
312 } 316 }
313 } 317 }
314 318
315 } 319 }
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