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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyFontUtils.cpp

Issue 2938983002: Implement parseShorthand API for shorthand properties, "overflow", "font" and "font-variant" (Closed)
Patch Set: Replace ImplicitProperty by IsImplicitProperty Created 3 years, 6 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/properties/CSSPropertyFontUtils.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyFontUtils.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyFontUtils.cpp
index 64c14df1e9e480c281a8d39ea10f40753b84d66f..0b223e268a11d857f56cfc38b16bfb10247da0e0 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyFontUtils.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyFontUtils.cpp
@@ -161,4 +161,10 @@ CSSFontFeatureValue* CSSPropertyFontUtils::ConsumeFontFeatureTag(
return CSSFontFeatureValue::Create(tag, tag_value);
}
+CSSIdentifierValue* CSSPropertyFontUtils::ConsumeFontVariantCSS21(
+ CSSParserTokenRange& range) {
+ return CSSPropertyParserHelpers::ConsumeIdent<CSSValueNormal,
+ CSSValueSmallCaps>(range);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698