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

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

Issue 2618673002: Implements CSSPropertyAPI for the webkit-highlight property. (Closed)
Patch Set: rebase 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 2068dc284007308b82f1d208e0a3d6aec9a2cd81..17d1111e413ff3515c903e49487bc59cd9384401 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -344,12 +344,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();
@@ -3039,8 +3033,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue(
switch (property) {
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