Bug 1390702 - Part 3: Make font-variation-settings animatable. r?birtles draft
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Tue, 05 Sep 2017 14:45:28 +0900
changeset 658919 4406d1e3bde65ba728804cf104a9c7412a17af28
parent 658918 e9b91672d9b2dc77fb5f3027b59e3069d436e987
child 658920 560c91ffde9b523515a7ce0812869ef0ca6d2cf1
push id77928
push userbmo:dakatsuka@mozilla.com
push dateTue, 05 Sep 2017 05:46:09 +0000
reviewersbirtles
bugs1390702
milestone57.0a1
Bug 1390702 - Part 3: Make font-variation-settings animatable. r?birtles MozReview-Commit-ID: 69LlWwomWnR
servo/components/style/properties/longhand/font.mako.rs
--- a/servo/components/style/properties/longhand/font.mako.rs
+++ b/servo/components/style/properties/longhand/font.mako.rs
@@ -1990,17 +1990,18 @@ macro_rules! exclusive_value {
 </%helpers:longhand>
 
 <%
 # This spec link is too long to fit elsewhere
 variation_spec = """\
 https://drafts.csswg.org/css-fonts-4/#low-level-font-variation-settings-control-the-font-variation-settings-property\
 """
 %>
-<%helpers:longhand name="font-variation-settings" products="gecko" animation_value_type="none"
+<%helpers:longhand name="font-variation-settings" products="gecko"
+                   animation_value_type="ComputedValue"
                    flags="APPLIES_TO_FIRST_LETTER APPLIES_TO_FIRST_LINE APPLIES_TO_PLACEHOLDER"
                    spec="${variation_spec}">
     use values::computed::ComputedValueAsSpecified;
     use values::generics::FontSettings;
 
     impl ComputedValueAsSpecified for SpecifiedValue {}
 
     pub type SpecifiedValue = computed_value::T;