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

Unified Diff: sky/engine/core/css/CSSComputedStyleDeclaration.cpp

Issue 850103003: Unprefix -webkit-filter and add a pixel test for it. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/animation/css/CSSPropertyEquality.cpp ('k') | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
index dcf2ae55013e73e1317603422ca689f2a4ded1c2..a1f5266af64744fd587af70a51c7cc6b1bf528f9 100644
--- a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
+++ b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
@@ -205,7 +205,7 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyWebkitBoxDecorationBreak,
CSSPropertyWebkitBoxShadow,
CSSPropertyWebkitClipPath,
- CSSPropertyWebkitFilter,
+ CSSPropertyFilter,
CSSPropertyAlignContent,
CSSPropertyAlignItems,
CSSPropertyAlignSelf,
@@ -1202,7 +1202,7 @@ static bool isLayoutDependent(CSSPropertyID propertyID, PassRefPtr<RenderStyle>
case CSSPropertyTransformOrigin:
case CSSPropertyWebkitTransformOrigin:
case CSSPropertyWidth:
- case CSSPropertyWebkitFilter:
+ case CSSPropertyFilter:
return true;
case CSSPropertyMargin:
return renderer && renderer->isBox() && (!style || !style->marginBottom().isFixed() || !style->marginTop().isFixed() || !style->marginLeft().isFixed() || !style->marginRight().isFixed());
@@ -2106,7 +2106,7 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
return valueForBasicShape(*style, toShapeClipPathOperation(operation)->basicShape());
}
return cssValuePool().createIdentifierValue(CSSValueNone);
- case CSSPropertyWebkitFilter:
+ case CSSPropertyFilter:
return valueForFilter(renderer, *style);
case CSSPropertyBackground:
« no previous file with comments | « sky/engine/core/animation/css/CSSPropertyEquality.cpp ('k') | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698