aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/style/properties/gecko.mako.rs11
-rw-r--r--components/style/properties/longhand/xul.mako.rs6
2 files changed, 4 insertions, 13 deletions
diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs
index 146c8827b9d..6e35cdaf9f3 100644
--- a/components/style/properties/gecko.mako.rs
+++ b/components/style/properties/gecko.mako.rs
@@ -4199,16 +4199,7 @@ clip-path
</%self:impl_trait>
<%self:impl_trait style_struct_name="XUL"
- skip_longhands="-moz-stack-sizing -moz-box-ordinal-group">
-
- #[allow(non_snake_case)]
- pub fn set__moz_stack_sizing(&mut self, v: longhands::_moz_stack_sizing::computed_value::T) {
- use properties::longhands::_moz_stack_sizing::computed_value::T;
- self.gecko.mStretchStack = v == T::stretch_to_fit;
- }
-
- ${impl_simple_copy('_moz_stack_sizing', 'mStretchStack')}
-
+ skip_longhands="-moz-box-ordinal-group">
#[allow(non_snake_case)]
pub fn set__moz_box_ordinal_group(&mut self, v: i32) {
self.gecko.mBoxOrdinal = v as u32;
diff --git a/components/style/properties/longhand/xul.mako.rs b/components/style/properties/longhand/xul.mako.rs
index e86e3fc9ee1..e4b443364ab 100644
--- a/components/style/properties/longhand/xul.mako.rs
+++ b/components/style/properties/longhand/xul.mako.rs
@@ -44,9 +44,9 @@ ${helpers.single_keyword("-moz-box-pack", "start center end justify",
alias="-webkit-box-pack",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-pack)")}
-${helpers.single_keyword("-moz-stack-sizing", "stretch-to-fit ignore",
- products="gecko", gecko_ffi_name="mStretchStack",
- gecko_constant_prefix="NS_STYLE_STACK_SIZING",
+${helpers.single_keyword("-moz-stack-sizing", "stretch-to-fit ignore ignore-horizontal ignore-vertical",
+ products="gecko", gecko_ffi_name="mStackSizing",
+ gecko_enum_prefix="StyleStackSizing",
animation_value_type="none",
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-stack-sizing)")}