From c04a37982c4a00c1ea521efca44eb19548f63755 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Tue, 12 Nov 2019 19:50:19 +0000 Subject: [PATCH] style: Remove nsStackFrame platform code. Differential Revision: https://phabricator.services.mozilla.com/D49487 --- components/style/properties/longhands/xul.mako.rs | 10 ---------- components/style/values/specified/box.rs | 6 ------ 2 files changed, 16 deletions(-) diff --git a/components/style/properties/longhands/xul.mako.rs b/components/style/properties/longhands/xul.mako.rs index 0862ce533d4..d5c4011eaf6 100644 --- a/components/style/properties/longhands/xul.mako.rs +++ b/components/style/properties/longhands/xul.mako.rs @@ -64,16 +64,6 @@ ${helpers.single_keyword( spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-pack)", )} -${helpers.single_keyword( - "-moz-stack-sizing", - "stretch-to-fit ignore ignore-horizontal ignore-vertical", - engines="gecko", - gecko_ffi_name="mStackSizing", - gecko_enum_prefix="StyleStackSizing", - animation_value_type="discrete", - spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-stack-sizing)", -)} - ${helpers.predefined_type( "-moz-box-ordinal-group", "Integer", diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index 58d51f8c006..2b4e3a420de 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -109,8 +109,6 @@ pub enum DisplayInside { #[cfg(feature = "gecko")] MozGridLine, #[cfg(feature = "gecko")] - MozStack, - #[cfg(feature = "gecko")] MozDeck, #[cfg(feature = "gecko")] MozGroupbox, @@ -243,8 +241,6 @@ impl Display { #[cfg(feature = "gecko")] pub const MozGridLine: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozGridLine); #[cfg(feature = "gecko")] - pub const MozStack: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozStack); - #[cfg(feature = "gecko")] pub const MozDeck: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozDeck); #[cfg(feature = "gecko")] pub const MozGroupbox: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozGroupbox); @@ -669,8 +665,6 @@ impl Parse for Display { #[cfg(feature = "gecko")] "-moz-grid-line" if moz_display_values_enabled(context) => Display::MozGridLine, #[cfg(feature = "gecko")] - "-moz-stack" if moz_display_values_enabled(context) => Display::MozStack, - #[cfg(feature = "gecko")] "-moz-deck" if moz_display_values_enabled(context) => Display::MozDeck, #[cfg(feature = "gecko")] "-moz-groupbox" if moz_display_values_enabled(context) => Display::MozGroupbox,