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

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

Issue 2618523003: Implements CSSPropertyAPI for the page 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 080eacf2f821cb72b9e02498c86d1ed89a7a449a..c35f0e700e6c30195f70bf04a9d2d4e452a4c46e 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -329,12 +329,6 @@ static CSSValue* consumeFontFeatureSettings(CSSParserTokenRange& range) {
return settings;
}
-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);
@@ -3228,8 +3222,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