style: Remove nsGroupBoxFrame (display: -moz-groupbox).

Differential Revision: https://phabricator.services.mozilla.com/D61422
This commit is contained in:
Tim Nguyen 2020-02-03 09:55:51 +00:00 committed by Emilio Cobos Álvarez
parent 561de2f748
commit 127755551d
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A

View file

@ -106,8 +106,6 @@ pub enum DisplayInside {
#[cfg(feature = "gecko")]
MozDeck,
#[cfg(feature = "gecko")]
MozGroupbox,
#[cfg(feature = "gecko")]
MozPopup,
}
@ -231,8 +229,6 @@ impl Display {
#[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);
#[cfg(feature = "gecko")]
pub const MozPopup: Self = Self::new(DisplayOutside::XUL, DisplayInside::MozPopup);
/// Make a raw display value from <display-outside> and <display-inside> values.
@ -623,8 +619,6 @@ impl Parse for Display {
#[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,
#[cfg(feature = "gecko")]
"-moz-popup" if moz_display_values_enabled(context) => Display::MozPopup,
})
}