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

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

Issue 2618523003: Implements CSSPropertyAPI for the page property. (Closed)
Patch Set: fixed dependencies, changed year 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 d2cf85dbc71e1ba03109c949f268114110a6463c..d1e69a1a410e515b11a36723ad7dc0ef248cbdc7 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -388,12 +388,6 @@ static CSSValue* consumeFontVariationSettings(CSSParserTokenRange& range) {
return variationSettings;
}
-static CSSValue* consumePage(CSSParserTokenRange& range) {
- if (range.peek().id() == CSSValueAuto)
- return consumeIdent(range);
- return consumeCustomIdent(range);
-}
-
static CSSValue* consumeQuotes(CSSParserTokenRange& range) {
if (range.peek().id() == CSSValueNone)
return consumeIdent(range);
@@ -3433,8 +3427,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue(
return cssPropertyDesc.parseSingleValue(m_range, m_context);
switch (property) {
- case CSSPropertyPage:
- return consumePage(m_range);
case CSSPropertyQuotes:
return consumeQuotes(m_range);
case CSSPropertyWebkitHighlight:

Powered by Google App Engine
This is Rietveld 408576698