Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 98e638f9ab8ea36b52381bdd2c08714ac522a16f..1e24b75ca7264133e035779644794d646c489851 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -2307,9 +2307,11 @@ bool CSSPropertyParser::isColorKeyword(CSSValueID id) |
// '-internal-inactive-list-box-selection' |
// '-internal-inactive-list-box-selection-text' |
// '-webkit-focus-ring-color' |
+ // '-webkit-text' |
// |
- // TODO(fs): The "extended color keywords" are not included. |
- return (id >= CSSValueAqua && id <= CSSValueWebkitText) || id == CSSValueMenu; |
+ return (id >= CSSValueAqua && id <= CSSValueWebkitText) |
+ || (id >= CSSValueAliceblue && id <= CSSValueYellowgreen) |
+ || id == CSSValueMenu; |
} |
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSPropertyParser::parseColor(const CSSParserValue* value, bool acceptQuirkyColors) |