Chromium Code Reviews| Index: third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl |
| diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl |
| index 7386654952c92094afec682f428b54b31a8c073f..a0b795128cc570ff0868c31a421ecb7e6b04b4ea 100644 |
| --- a/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl |
| +++ b/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl |
| @@ -21,6 +21,9 @@ bool CSSOMTypes::propertyCanTake(CSSPropertyID id, const CSSStyleValue& styleVal |
| } else if (styleValue.type() == CSSStyleValue::KeywordType) { |
| // Keywords are also handled differently. |
| return CSSOMKeywords::validKeywordForProperty(id, toCSSKeywordValue(styleValue)); |
| + } else if (styleValue.type() == CSSStyleValue::Unknown) { |
| + // The check has to happen later in this case. |
|
Timothy Loh
2016/06/09 07:22:24
has to happen -> happens? Seems to me like we coul
meade_UTC10
2016/06/09 07:50:53
Done.
|
| + return true; |
| } |
| switch (id) { |