Bug 1358966 - Enable shorthand properties for SMIL. r=birtles
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 09 Jun 2017 06:19:38 +0900
changeset 363104 fee301b94b59473beb8344b0b706f2f9ee35c473
parent 363103 3eef803b781febe81dc767e38b99b709aa8e4287
child 363105 f47c91dc7c8e45bdde0caf4669cd5de480052762
push id31994
push usercbook@mozilla.com
push dateFri, 09 Jun 2017 10:56:24 +0000
treeherdermozilla-central@7c9d96bbc400 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs1358966
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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)