Bug 1382136 - Part 2: Make content animatable. r?hiro draft
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Sun, 13 Aug 2017 23:00:36 +0900
changeset 645593 9e48f45441c6a557549c4890e386c62efa37a442
parent 645592 02022624e7d5e7e9c8a13f1bed6d29a0c5c57829
child 645594 b0c395125e3c7040538a09e4a0608f42f30cd708
push id73791
push userbmo:dakatsuka@mozilla.com
push dateSun, 13 Aug 2017 14:30:21 +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;