Bug 1358966 - Enable shorthand properties for SMIL. r?birtles draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 09 Jun 2017 06:19:38 +0900
changeset 591343 8dcf437ec0067b6bc232f00c6cd64d57dee44e7c
parent 591342 ee1b4d7a7e9aa58dfd8c9874b673431fb64eeb9c
child 591344 6238d9b47b03f756342920329d01e414e789c550
push id63021
push userhikezoe@mozilla.com
push dateThu, 08 Jun 2017 22:52:23 +0000
reviewersbirtles
bugs1358966
milestone55.0a1
Bug 1358966 - Enable shorthand properties for SMIL. r?birtles MozReview-Commit-ID: IyJIzVGpvYK
dom/smil/nsSMILCSSValueType.cpp
--- 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)