Bug 1382136 - Part 2: Make content animatable. r?hiro draft
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Mon, 14 Aug 2017 16:30:00 +0900
changeset 645763 4e71f6d23bef137e74aee8e3474a03c5335a132d
parent 645762 4b2c7f2616438fc4051e83561380ef6fc30e22a0
child 645764 8eee6a57f98236e3e083d0b4a929aa3e74fdfc0e
push id73879
push userbmo:dakatsuka@mozilla.com
push dateMon, 14 Aug 2017 07:43:37 +0000
reviewershiro
bugs1382136
milestone57.0a1
Bug 1382136 - Part 2: Make content animatable. r?hiro MozReview-Commit-ID: 6TBSRaDEXMm
servo/components/style/properties/longhand/counters.mako.rs
--- a/servo/components/style/properties/longhand/counters.mako.rs
+++ b/servo/components/style/properties/longhand/counters.mako.rs
@@ -1,17 +1,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 <%namespace name="helpers" file="/helpers.mako.rs" />
 
 <% data.new_style_struct("Counters", inherited=False, gecko_name="Content") %>
 
-<%helpers:longhand name="content" boxed="True" animation_value_type="none"
+<%helpers:longhand name="content" boxed="True" animation_value_type="discrete"
                    spec="https://drafts.csswg.org/css-content/#propdef-content">
     use values::computed::ComputedValueAsSpecified;
     #[cfg(feature = "gecko")]
     use values::generics::CounterStyleOrNone;
     #[cfg(feature = "gecko")]
     use values::specified::url::SpecifiedUrl;
     #[cfg(feature = "gecko")]
     use values::specified::Attr;