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

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

Issue 2065593002: Unprefix the CSS 'filter' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disabler. Try different DCHECK expressions. Created 4 years, 6 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/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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 return a.columnCount() == b.columnCount(); 254 return a.columnCount() == b.columnCount();
255 case CSSPropertyColumnGap: 255 case CSSPropertyColumnGap:
256 return a.columnGap() == b.columnGap(); 256 return a.columnGap() == b.columnGap();
257 case CSSPropertyColumnRuleColor: 257 case CSSPropertyColumnRuleColor:
258 return a.columnRuleColor() == b.columnRuleColor() 258 return a.columnRuleColor() == b.columnRuleColor()
259 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor(); 259 && a.visitedLinkColumnRuleColor() == b.visitedLinkColumnRuleColor();
260 case CSSPropertyColumnRuleWidth: 260 case CSSPropertyColumnRuleWidth:
261 return a.columnRuleWidth() == b.columnRuleWidth(); 261 return a.columnRuleWidth() == b.columnRuleWidth();
262 case CSSPropertyColumnWidth: 262 case CSSPropertyColumnWidth:
263 return a.columnWidth() == b.columnWidth(); 263 return a.columnWidth() == b.columnWidth();
264 case CSSPropertyWebkitFilter: 264 case CSSPropertyFilter:
265 return a.filter() == b.filter(); 265 return a.filter() == b.filter();
266 case CSSPropertyBackdropFilter: 266 case CSSPropertyBackdropFilter:
267 return a.backdropFilter() == b.backdropFilter(); 267 return a.backdropFilter() == b.backdropFilter();
268 case CSSPropertyWebkitMaskBoxImageOutset: 268 case CSSPropertyWebkitMaskBoxImageOutset:
269 return a.maskBoxImageOutset() == b.maskBoxImageOutset(); 269 return a.maskBoxImageOutset() == b.maskBoxImageOutset();
270 case CSSPropertyWebkitMaskBoxImageSlice: 270 case CSSPropertyWebkitMaskBoxImageSlice:
271 return a.maskBoxImageSlices() == b.maskBoxImageSlices(); 271 return a.maskBoxImageSlices() == b.maskBoxImageSlices();
272 case CSSPropertyWebkitMaskBoxImageSource: 272 case CSSPropertyWebkitMaskBoxImageSource:
273 return dataEquivalent(a.maskBoxImageSource(), b.maskBoxImageSource()); 273 return dataEquivalent(a.maskBoxImageSource(), b.maskBoxImageSource());
274 case CSSPropertyWebkitMaskBoxImageWidth: 274 case CSSPropertyWebkitMaskBoxImageWidth:
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 return a.svgStyle().ry() == b.svgStyle().ry(); 332 return a.svgStyle().ry() == b.svgStyle().ry();
333 case CSSPropertyZIndex: 333 case CSSPropertyZIndex:
334 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a .zIndex() == b.zIndex()); 334 return a.hasAutoZIndex() == b.hasAutoZIndex() && (a.hasAutoZIndex() || a .zIndex() == b.zIndex());
335 default: 335 default:
336 NOTREACHED(); 336 NOTREACHED();
337 return true; 337 return true;
338 } 338 }
339 } 339 }
340 340
341 } // namespace blink 341 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698