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

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

Issue 1710003002: Unprefix multicol properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 4 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 "core/animation/css/CSSPropertyEquality.h" 5 #include "core/animation/css/CSSPropertyEquality.h"
6 6
7 #include "core/animation/css/CSSAnimations.h" 7 #include "core/animation/css/CSSAnimations.h"
8 #include "core/style/DataEquivalency.h" 8 #include "core/style/DataEquivalency.h"
9 #include "core/style/ComputedStyle.h" 9 #include "core/style/ComputedStyle.h"
10 #include "core/style/ShadowList.h" 10 #include "core/style/ShadowList.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 return a.verticalAlign() == b.verticalAlign() 242 return a.verticalAlign() == b.verticalAlign()
243 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert icalAlignLength()); 243 && (a.verticalAlign() != LENGTH || a.verticalAlignLength() == b.vert icalAlignLength());
244 case CSSPropertyVisibility: 244 case CSSPropertyVisibility:
245 return a.visibility() == b.visibility(); 245 return a.visibility() == b.visibility();
246 case CSSPropertyWebkitBorderHorizontalSpacing: 246 case CSSPropertyWebkitBorderHorizontalSpacing:
247 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing(); 247 return a.horizontalBorderSpacing() == b.horizontalBorderSpacing();
248 case CSSPropertyWebkitBorderVerticalSpacing: 248 case CSSPropertyWebkitBorderVerticalSpacing:
249 return a.verticalBorderSpacing() == b.verticalBorderSpacing(); 249 return a.verticalBorderSpacing() == b.verticalBorderSpacing();
250 case CSSPropertyWebkitClipPath: 250 case CSSPropertyWebkitClipPath:
251 return dataEquivalent(a.clipPath(), b.clipPath()); 251 return dataEquivalent(a.clipPath(), b.clipPath());
252 case CSSPropertyWebkitColumnCount: 252 case CSSPropertyColumnCount:
253 return a.columnCount() == b.columnCount(); 253 return a.columnCount() == b.columnCount();
254 case CSSPropertyWebkitColumnGap: 254 case CSSPropertyColumnGap:
255 return a.columnGap() == b.columnGap(); 255 return a.columnGap() == b.columnGap();
256 case CSSPropertyWebkitColumnRuleColor: 256 case CSSPropertyColumnRuleColor:
257 return a.columnRuleColor() == b.columnRuleColor() 257 return a.columnRuleColor() == b.columnRuleColor()
258 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); 258 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor();
259 case CSSPropertyWebkitColumnRuleWidth: 259 case CSSPropertyColumnRuleWidth:
260 return a.columnRuleWidth() == b.columnRuleWidth(); 260 return a.columnRuleWidth() == b.columnRuleWidth();
261 case CSSPropertyWebkitColumnWidth: 261 case CSSPropertyColumnWidth:
262 return a.columnWidth() == b.columnWidth(); 262 return a.columnWidth() == b.columnWidth();
263 case CSSPropertyWebkitFilter: 263 case CSSPropertyWebkitFilter:
264 return a.filter() == b.filter(); 264 return a.filter() == b.filter();
265 case CSSPropertyBackdropFilter: 265 case CSSPropertyBackdropFilter:
266 return a.backdropFilter() == b.backdropFilter(); 266 return a.backdropFilter() == b.backdropFilter();
267 case CSSPropertyWebkitMaskBoxImageOutset: 267 case CSSPropertyWebkitMaskBoxImageOutset:
268 return a.maskBoxImageOutset() == b.maskBoxImageOutset(); 268 return a.maskBoxImageOutset() == b.maskBoxImageOutset();
269 case CSSPropertyWebkitMaskBoxImageSlice: 269 case CSSPropertyWebkitMaskBoxImageSlice:
270 return a.maskBoxImageSlices() == b.maskBoxImageSlices(); 270 return a.maskBoxImageSlices() == b.maskBoxImageSlices();
271 case CSSPropertyWebkitMaskBoxImageSource: 271 case CSSPropertyWebkitMaskBoxImageSource:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 return a.svgStyle().ry() == b.svgStyle().ry(); 331 return a.svgStyle().ry() == b.svgStyle().ry();
332 case CSSPropertyZIndex: 332 case CSSPropertyZIndex:
333 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a .zIndex() == b.zIndex()); 333 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a .zIndex() == b.zIndex());
334 default: 334 default:
335 ASSERT_NOT_REACHED(); 335 ASSERT_NOT_REACHED();
336 return true; 336 return true;
337 } 337 }
338 } 338 }
339 339
340 } // namespace blink 340 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698