Bug 1358966 - Enable shorthand properties for SMIL. r?birtles
MozReview-Commit-ID: IyJIzVGpvYK
--- a/dom/smil/nsSMILCSSValueType.cpp
+++ b/dom/smil/nsSMILCSSValueType.cpp
@@ -671,20 +671,16 @@ ValueFromStringHelper(nsCSSPropertyID aP
static ServoAnimationValues
ValueFromStringHelper(nsCSSPropertyID aPropID,
Element* aTargetElement,
nsPresContext* aPresContext,
nsStyleContext* aStyleContext,
const nsAString& aString)
{
ServoAnimationValues result;
- // FIXME (bug 1358966): Support shorthand properties
- if (nsCSSProps::IsShorthand(aPropID)) {
- return result;
- }
nsIDocument* doc = aTargetElement->GetUncomposedDoc();
if (!doc) {
return result;
}
// Parse property
// FIXME this is using the wrong base uri (bug 1343919)