Bug 1208951 - Part 8: Don't warn if StyleAnimationValue::ComputeValue fails to parse a CSS property. r=birtles

Since we will call StyleAnimationValue::ComputeValues with values that
come from script, we don't want to warn if we have an invalid value.
This commit is contained in:
Cameron McCormack 2015-10-22 19:22:38 +11:00
parent f17efa0f7d
commit b9c400b0a8

View File

@ -2510,7 +2510,6 @@ BuildStyleRule(nsCSSProperty aProperty,
// check whether property parsed without CSS parsing errors
if (!declaration->HasNonImportantValueFor(propertyToCheck)) {
NS_WARNING("failure in BuildStyleRule");
return nullptr;
}