mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Add white-space: -moz-pre-space for geckolib
This commit is contained in:
parent
8fa0d37b1d
commit
0da416f243
1 changed files with 3 additions and 0 deletions
|
@ -664,6 +664,7 @@ ${helpers.single_keyword("text-align-last",
|
||||||
|
|
||||||
<%helpers:single_keyword_computed name="white-space"
|
<%helpers:single_keyword_computed name="white-space"
|
||||||
values="normal pre nowrap pre-wrap pre-line"
|
values="normal pre nowrap pre-wrap pre-line"
|
||||||
|
extra_gecko_values="-moz-pre-space"
|
||||||
gecko_constant_prefix="NS_STYLE_WHITESPACE"
|
gecko_constant_prefix="NS_STYLE_WHITESPACE"
|
||||||
needs_conversion="True"
|
needs_conversion="True"
|
||||||
animation_type="none"
|
animation_type="none"
|
||||||
|
@ -673,6 +674,7 @@ ${helpers.single_keyword("text-align-last",
|
||||||
impl ComputedValueAsSpecified for SpecifiedValue {}
|
impl ComputedValueAsSpecified for SpecifiedValue {}
|
||||||
no_viewport_percentage!(SpecifiedValue);
|
no_viewport_percentage!(SpecifiedValue);
|
||||||
|
|
||||||
|
% if product != "gecko":
|
||||||
impl SpecifiedValue {
|
impl SpecifiedValue {
|
||||||
pub fn allow_wrap(&self) -> bool {
|
pub fn allow_wrap(&self) -> bool {
|
||||||
match *self {
|
match *self {
|
||||||
|
@ -704,6 +706,7 @@ ${helpers.single_keyword("text-align-last",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
% endif
|
||||||
</%helpers:single_keyword_computed>
|
</%helpers:single_keyword_computed>
|
||||||
|
|
||||||
<%helpers:longhand name="text-shadow" animation_type="normal"
|
<%helpers:longhand name="text-shadow" animation_type="normal"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue