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

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

Issue 1020093004: Add initial/inherit/unset tests to font-family-parse-keyword.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add unset Created 5 years, 9 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
« no previous file with comments | « LayoutTests/fast/css/font-family-parse-keyword-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index 6dd294d5b18655ba75c3e2d3ff776487f844e9a3..bab489e49c1e5419fbaef90f6ce1431e0151ad6d 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -3198,7 +3198,7 @@ PassRefPtrWillBeRawPtr<CSSValueList> CSSPropertyParser::parseAnimationPropertyLi
static inline bool isCSSWideKeyword(CSSParserValue& value)
{
- return value.id == CSSValueInitial || value.id == CSSValueInherit || value.id == CSSValueDefault;
+ return value.id == CSSValueInitial || value.id == CSSValueInherit || value.id == CSSValueUnset || value.id == CSSValueDefault;
}
static inline bool isValidCustomIdentForGridPositions(CSSParserValue& value)
« no previous file with comments | « LayoutTests/fast/css/font-family-parse-keyword-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698