servo: Merge #15901 - Restore text-align-last removed in #15839 by mistake (from upsuper:text-align-last); r=Manishearth
authorXidorn Quan <me@upsuper.org>
Thu, 09 Mar 2017 21:03:10 -0800
changeset 346906 b3eb8484454007d3a44be3a1d63cc15790d4fc09
parent 346905 500becbd127a56abec88353b692f66c810072ee8
child 346907 9c29dd17051ec2db36577c463449a87eb4255ea9
push id31480
push usercbook@mozilla.com
push dateFri, 10 Mar 2017 10:37:06 +0000
treeherdermozilla-central@e18d3dd20e8d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersManishearth
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 #15901 - Restore text-align-last removed in #15839 by mistake (from upsuper:text-align-last); r=Manishearth Source-Repo: https://github.com/servo/servo Source-Revision: 72128de68189a9cd03050b3b0dc8278b4ca376e9
servo/components/style/properties/longhand/inherited_text.mako.rs
--- a/servo/components/style/properties/longhand/inherited_text.mako.rs
+++ b/servo/components/style/properties/longhand/inherited_text.mako.rs
@@ -228,16 +228,23 @@
                 % if product == "gecko":
                     computed_value::T::inter_character => SpecifiedValue::inter_character,
                 % endif
             }
         }
     }
 </%helpers:single_keyword_computed>
 
+${helpers.single_keyword("text-align-last",
+                         "auto start end left right center justify",
+                         products="gecko",
+                         gecko_constant_prefix="NS_STYLE_TEXT_ALIGN",
+                         animatable=False,
+                         spec="https://drafts.csswg.org/css-text/#propdef-text-align-last")}
+
 // TODO make this a shorthand and implement text-align-last/text-align-all
 <%helpers:longhand name="text-align" animatable="False" spec="https://drafts.csswg.org/css-text/#propdef-text-align">
     pub use self::computed_value::T as SpecifiedValue;
     use values::computed::ComputedValueAsSpecified;
     use values::HasViewportPercentage;
     impl ComputedValueAsSpecified for SpecifiedValue {}
     no_viewport_percentage!(SpecifiedValue);
     pub mod computed_value {