| Index: Source/core/css/parser/CSSParser.cpp
|
| diff --git a/Source/core/css/parser/CSSParser.cpp b/Source/core/css/parser/CSSParser.cpp
|
| index 9b1f173b7787e7e2805fdf08923de1c5e32cf413..42b855aa97fd8e96d2e2cc55aac5edde0b105d44 100644
|
| --- a/Source/core/css/parser/CSSParser.cpp
|
| +++ b/Source/core/css/parser/CSSParser.cpp
|
| @@ -120,7 +120,7 @@ bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict)
|
| return true;
|
| }
|
|
|
| - RefPtrWillBeRawPtr<CSSValue> value = CSSParserFastPaths::parseColor(string, !strict);
|
| + RefPtrWillBeRawPtr<CSSValue> value = CSSParserFastPaths::parseColor(string, strict ? HTMLStandardMode : HTMLQuirksMode);
|
| // TODO(timloh): Why is this always strict mode?
|
| if (!value)
|
| value = parseSingleValue(CSSPropertyColor, string, strictCSSParserContext());
|
|
|