Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index b83f38e3959ec5a6e58c7368f9782f524fddbddf..7e736e430a62cbcce57862b645e1c7640a1d6efb 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -2341,12 +2341,6 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSPropertyParser::parseTapHighlightCo |
// Disallow -webkit-text regardless of quirks. |
if (id == CSSValueWebkitText) |
return nullptr; |
- // Allow currentcolor in quirks-mode only. |
- if (id == CSSValueCurrentcolor) { |
- if (!inQuirksMode()) |
- return nullptr; |
- return cssValuePool().createIdentifierValue(id); |
- } |
return parseColor(value); |
} |