servo: Merge #17227 - stylo: make fill-opacity animatable (from chenpighead:stylo-fill-opacity-animatable); r=boris
authorJeremy Chen <jeremychen@mozilla.com>
Thu, 08 Jun 2017 10:24:37 -0700
changeset 363054 e2aece985d533323ae7e43c88d39f6b4ef7dad2c
parent 363053 fb3cbcd197fe99ff51ff94c50cdd8919fa8e848e
child 363055 1961976dc596ea0ce5c712ab26b011dd72df22b5
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)
reviewersboris
bugs17227, 1369624
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
servo: Merge #17227 - stylo: make fill-opacity animatable (from chenpighead:stylo-fill-opacity-animatable); r=boris This is just the servo part change. The test part will be landed in gecko directly. Gecko bug: [Bug 1369624](https://bugzilla.mozilla.org/show_bug.cgi?id=1369624) Source-Repo: https://github.com/servo/servo Source-Revision: 0dc7190311edf3d30605615546677258ea0aab7e
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")}