Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 1221093003: Allow 'currentcolor' for -webkit-tap-highlight-color in non-quirks mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698