From 4ea378a6ae232af09135b2037c527466ef5454de Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Tue, 17 Nov 2020 01:20:33 +0000 Subject: [PATCH] style: Remove support for XUL grid display values. Differential Revision: https://phabricator.services.mozilla.com/D53297 --- components/style/values/specified/box.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index ed81eba40e6..77eada92ed4 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -110,12 +110,6 @@ pub enum DisplayInside { #[cfg(feature = "gecko")] MozBox, #[cfg(feature = "gecko")] - MozGrid, - #[cfg(feature = "gecko")] - MozGridGroup, - #[cfg(feature = "gecko")] - MozGridLine, - #[cfg(feature = "gecko")] MozStack, #[cfg(feature = "gecko")] MozDeck, @@ -233,12 +227,6 @@ impl Display { #[cfg(feature = "gecko")] pub const MozInlineBox: Self = Self::new(DisplayOutside::Inline, DisplayInside::MozBox); #[cfg(feature = "gecko")] - pub const MozGrid: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozGrid); - #[cfg(feature = "gecko")] - pub const MozGridGroup: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozGridGroup); - #[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); @@ -615,12 +603,6 @@ impl Parse for Display { #[cfg(feature = "gecko")] "-moz-inline-box" if moz_box_display_values_enabled(context) => Display::MozInlineBox, #[cfg(feature = "gecko")] - "-moz-grid" if moz_display_values_enabled(context) => Display::MozGrid, - #[cfg(feature = "gecko")] - "-moz-grid-group" if moz_display_values_enabled(context) => Display::MozGridGroup, - #[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,