author | Xidorn Quan <me@upsuper.org> |
Thu, 09 Mar 2017 21:03:10 -0800 | |
changeset 346906 | b3eb8484454007d3a44be3a1d63cc15790d4fc09 |
parent 346905 | 500becbd127a56abec88353b692f66c810072ee8 |
child 346907 | 9c29dd17051ec2db36577c463449a87eb4255ea9 |
push id | 31480 |
push user | cbook@mozilla.com |
push date | Fri, 10 Mar 2017 10:37:06 +0000 |
treeherder | mozilla-central@e18d3dd20e8d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Manishearth |
milestone | 55.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/components/style/properties/longhand/inherited_text.mako.rs | file | annotate | diff | comparison | revisions |
--- 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 {