| Index: Source/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
|
| index 7feb07b4a48960ea2a2e5239ebe093afee6063c7..46ca550c5dfe4a9bbe088042911795c926b29d61 100644
|
| --- a/Source/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/CSSPropertyParser.cpp
|
| @@ -606,13 +606,13 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
|
| bool acceptQuirkyColors = false;
|
| switch (propId) {
|
| case CSSPropertyBackgroundColor:
|
| - if (!inShorthand())
|
| - acceptQuirkyColors = true;
|
| - break;
|
| case CSSPropertyBorderBottomColor:
|
| case CSSPropertyBorderLeftColor:
|
| case CSSPropertyBorderRightColor:
|
| case CSSPropertyBorderTopColor:
|
| + if (!inShorthand() || m_currentShorthand == CSSPropertyBorderColor)
|
| + acceptQuirkyColors = true;
|
| + break;
|
| case CSSPropertyColor:
|
| acceptQuirkyColors = true;
|
| break;
|
|
|