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

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

Issue 2618673002: Implements CSSPropertyAPI for the webkit-highlight property. (Closed)
Patch Set: dependencies Created 3 years, 11 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
Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index c1f9099aa4cf6269c3de013198897f7ace6e5d74..ad3bcca529c4687f6b204868e9ccd0428792bec3 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -409,12 +409,6 @@ static CSSValue* consumeQuotes(CSSParserTokenRange& range) {
return nullptr;
}
-static CSSValue* consumeWebkitHighlight(CSSParserTokenRange& range) {
- if (range.peek().id() == CSSValueNone)
- return consumeIdent(range);
- return consumeString(range);
-}
-
class FontVariantLigaturesParser {
STACK_ALLOCATED();
@@ -3417,8 +3411,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue(
return consumePage(m_range);
case CSSPropertyQuotes:
return consumeQuotes(m_range);
- case CSSPropertyWebkitHighlight:
- return consumeWebkitHighlight(m_range);
case CSSPropertyFontVariantCaps:
return consumeFontVariantCaps(m_range);
case CSSPropertyFontVariantLigatures:

Powered by Google App Engine
This is Rietveld 408576698