From 49d319b27e3b52f07900369e3045542a21679460 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Thu, 9 Mar 2017 21:03:10 -0800 Subject: [PATCH] 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 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 631830a397a37f32274b47e1003772034f60632e --- .../style/properties/longhand/inherited_text.mako.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/servo/components/style/properties/longhand/inherited_text.mako.rs b/servo/components/style/properties/longhand/inherited_text.mako.rs index 8a3444ab98a0..d8e3ac5d0f94 100644 --- a/servo/components/style/properties/longhand/inherited_text.mako.rs +++ b/servo/components/style/properties/longhand/inherited_text.mako.rs @@ -233,6 +233,13 @@ ${helpers.single_keyword("word-break", } +${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;