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

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

Issue 943463002: Initial implementation of font-size-adjust (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index ba9e52de3088d5eb98918313428c738a35e50915..7c9e6cb59ba289761f773b6d1e106f83a14a0223 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -1049,6 +1049,10 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
else
parsedValue = parseReflect();
break;
+ case CSSPropertyFontSizeAdjust: // none | <number>
rune 2015/02/19 20:28:27 Missing handling for 'none' keyword?
+ ASSERT(RuntimeEnabledFeatures::cssFontSizeAdjustEnabled());
+ validPrimitive = validUnit(value, FNumber | FNonNeg);
+ break;
case CSSPropertyOpacity:
validPrimitive = validUnit(value, FNumber);
break;

Powered by Google App Engine
This is Rietveld 408576698