Bug 1369624 - stylo: make fill-opacity animatable. draft
authorJeremy Chen <jeremychen@mozilla.com>
Thu, 08 Jun 2017 10:26:22 +0800
changeset 590775 58447be2700de1943e7b90445cf2848a1d32c809
parent 590774 351a87f24a6f9f315567ec3db089db79c4c14981
child 590776 4105a4efe67164c70d938288a9204b2261aa27e6
push id62824
push userbmo:jeremychen@mozilla.com
push dateThu, 08 Jun 2017 02:48:59 +0000
bugs1369624
milestone55.0a1
Bug 1369624 - stylo: make fill-opacity animatable. MozReview-Commit-ID: 4iUSBtEYXuR
servo/components/style/properties/longhand/inherited_svg.mako.rs
--- a/servo/components/style/properties/longhand/inherited_svg.mako.rs
+++ b/servo/components/style/properties/longhand/inherited_svg.mako.rs
@@ -35,17 +35,17 @@
     "fill", "SVGPaint",
     "::values::computed::SVGPaint::black()",
     products="gecko",
     animation_value_type="IntermediateSVGPaint",
     boxed=True,
     spec="https://www.w3.org/TR/SVG2/painting.html#SpecifyingFillPaint")}
 
 ${helpers.predefined_type("fill-opacity", "Opacity", "1.0",
-                          products="gecko", animation_value_type="none",
+                          products="gecko", animation_value_type="ComputedValue",
                           spec="https://www.w3.org/TR/SVG11/painting.html#FillOpacityProperty")}
 
 ${helpers.single_keyword("fill-rule", "nonzero evenodd",
                          gecko_enum_prefix="StyleFillRule",
                          gecko_inexhaustive=True,
                          products="gecko", animation_value_type="discrete",
                          spec="https://www.w3.org/TR/SVG11/painting.html#FillRuleProperty")}