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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix animation blur filter test, move it into LayoutTests/animations. Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 3f719fee781508bc13e1efe8fd698109ecb09abc..abb39b1b6b999b4b899ee2d606e383f33cab4a44 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2640,7 +2640,7 @@ CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, const Comp
return cssValuePool().createValue(style.shapeImageThreshold(), CSSPrimitiveValue::UnitType::Number);
case CSSPropertyShapeOutside:
return valueForShape(style, style.shapeOutside());
- case CSSPropertyWebkitFilter:
+ case CSSPropertyFilter:
return valueForFilter(style, style.filter());
case CSSPropertyBackdropFilter:
return valueForFilter(style, style.backdropFilter());
@@ -2831,10 +2831,6 @@ CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, const Comp
if (!svgStyle.maskerResource().isEmpty())
return CSSURIValue::create(serializeAsFragmentIdentifier(svgStyle.maskerResource()));
return CSSPrimitiveValue::createIdentifier(CSSValueNone);
- case CSSPropertyFilter:
- if (!svgStyle.filterResource().isEmpty())
- return CSSURIValue::create(serializeAsFragmentIdentifier(svgStyle.filterResource()));
- return CSSPrimitiveValue::createIdentifier(CSSValueNone);
case CSSPropertyFloodColor:
return currentColorOrValidColor(style, svgStyle.floodColor());
case CSSPropertyLightingColor:

Powered by Google App Engine
This is Rietveld 408576698