Chromium Code Reviews| Index: Source/core/css/parser/CSSPropertyParser.cpp |
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
| index 4c3d25149345a119e48b66d79f01144bdcbaeba9..30d5a7d6d911bf5ed9517cc7d838d17d650ced7a 100644 |
| --- a/Source/core/css/parser/CSSPropertyParser.cpp |
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp |
| @@ -8150,7 +8150,12 @@ bool CSSPropertyParser::parseSVGValue(CSSPropertyID propId, bool important) |
| validPrimitive = true; |
| break; |
| - case CSSPropertyImageRendering: // auto | optimizeSpeed | |
| + case CSSPropertyImageRendering: // auto | optimizeSpeed | pixelated |
| + if (RuntimeEnabledFeatures::imageRenderingPixelatedEnabled() && id == CSSValuePixelated) { |
| + validPrimitive = true; |
| + break; |
| + } |
| + // Otherwise same as below. |
|
pdr.
2014/06/13 03:21:14
Nit: No need for this comment.
jackhou
2014/06/13 03:33:19
Done.
|
| case CSSPropertyColorRendering: // optimizeQuality | inherit |
| if (id == CSSValueAuto || id == CSSValueOptimizespeed |
| || id == CSSValueOptimizequality) |