| Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| index 02a6b5c162d645d4f09f4d83a8b4c8a562dd6d14..e045165b3ce70e15e8e6fd43a937d21806fcf758 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -1284,7 +1284,11 @@ static inline bool isValidCueStyleProperty(CSSPropertyID id) {
|
| case CSSPropertyTextDecorationStyle:
|
| case CSSPropertyTextDecorationColor:
|
| case CSSPropertyTextDecorationSkip:
|
| - return RuntimeEnabledFeatures::css3TextDecorationsEnabled();
|
| + DCHECK(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
|
| + return true;
|
| + case CSSPropertyFontVariationSettings:
|
| + DCHECK(RuntimeEnabledFeatures::cssVariableFontsEnabled());
|
| + return true;
|
| default:
|
| break;
|
| }
|
| @@ -1387,6 +1391,9 @@ static inline bool isValidFirstLetterStyleProperty(CSSPropertyID id) {
|
| case CSSPropertyWebkitMarginTopCollapse:
|
| case CSSPropertyWordSpacing:
|
| return true;
|
| + case CSSPropertyFontVariationSettings:
|
| + DCHECK(RuntimeEnabledFeatures::cssVariableFontsEnabled());
|
| + return true;
|
| case CSSPropertyTextDecoration:
|
| DCHECK(!RuntimeEnabledFeatures::css3TextDecorationsEnabled());
|
| return true;
|
|
|