diff options
author | Jeremy Chen <jeremychen@mozilla.com> | 2017-06-09 11:50:20 +0800 |
---|---|---|
committer | Jeremy Chen <jeremychen@mozilla.com> | 2017-06-09 14:16:38 +0800 |
commit | e9cbeee9d9defca825d1dcedcfff45d646dd2624 (patch) | |
tree | 4139ee87eba2cebb6316f0aa22e6a719cc37c871 | |
parent | e386e4248195a17eed522ac8746963022180a6e2 (diff) | |
download | servo-e9cbeee9d9defca825d1dcedcfff45d646dd2624.tar.gz servo-e9cbeee9d9defca825d1dcedcfff45d646dd2624.zip |
Bug 1360133 - stylo: make {stop, flood}-opacity animatable.
MozReview-Commit-ID: GzNs36TjZ4E
-rw-r--r-- | components/style/properties/longhand/svg.mako.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/properties/longhand/svg.mako.rs b/components/style/properties/longhand/svg.mako.rs index 9021121f370..03e2f557e9f 100644 --- a/components/style/properties/longhand/svg.mako.rs +++ b/components/style/properties/longhand/svg.mako.rs @@ -28,7 +28,7 @@ ${helpers.predefined_type( ${helpers.predefined_type("stop-opacity", "Opacity", "1.0", products="gecko", - animation_value_type="none", + animation_value_type="ComputedValue", spec="https://www.w3.org/TR/SVGTiny12/painting.html#propdef-stop-opacity")} // Section 15 - Filter Effects @@ -41,7 +41,7 @@ ${helpers.predefined_type( spec="https://www.w3.org/TR/SVG/filters.html#FloodColorProperty")} ${helpers.predefined_type("flood-opacity", "Opacity", - "1.0", products="gecko", animation_value_type="none", + "1.0", products="gecko", animation_value_type="ComputedValue", spec="https://www.w3.org/TR/SVG/filters.html#FloodOpacityProperty")} ${helpers.predefined_type( |