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

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

Issue 2617443005: Implements CSSPropertyAPI for the font-size-adjust 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 b7026024f480bb37b11503308688b32be3edd034..4dbab4117af2bf50ad54d2752c3654bcf8cfa1d4 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -2588,12 +2588,6 @@ static CSSValue* consumeReflect(CSSParserTokenRange& range,
return CSSReflectValue::create(direction, offset, mask);
}
-static CSSValue* consumeFontSizeAdjust(CSSParserTokenRange& range) {
- if (range.peek().id() == CSSValueNone)
- return consumeIdent(range);
- return consumeNumber(range, ValueRangeNonNegative);
-}
-
static CSSValue* consumeImageOrientation(CSSParserTokenRange& range) {
if (range.peek().id() == CSSValueFromImage)
return consumeIdent(range);
@@ -3624,9 +3618,6 @@ const CSSValue* CSSPropertyParser::parseSingleValue(
return consumeWebkitBorderImage(property, m_range, m_context);
case CSSPropertyWebkitBoxReflect:
return consumeReflect(m_range, m_context);
- case CSSPropertyFontSizeAdjust:
- ASSERT(RuntimeEnabledFeatures::cssFontSizeAdjustEnabled());
- return consumeFontSizeAdjust(m_range);
case CSSPropertyImageOrientation:
ASSERT(RuntimeEnabledFeatures::imageOrientationEnabled());
return consumeImageOrientation(m_range);

Powered by Google App Engine
This is Rietveld 408576698