mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
style: Remove display: -moz-popup
We already rely on it applying only to XULPopupElement's. Make it explicit and remove the CSS value. Differential Revision: https://phabricator.services.mozilla.com/D161552
This commit is contained in:
parent
fd5f04c18e
commit
91626808e9
1 changed files with 0 additions and 6 deletions
|
@ -93,8 +93,6 @@ pub enum DisplayInside {
|
|||
WebkitBox,
|
||||
#[cfg(feature = "gecko")]
|
||||
MozBox,
|
||||
#[cfg(feature = "gecko")]
|
||||
MozPopup,
|
||||
}
|
||||
|
||||
#[allow(missing_docs)]
|
||||
|
@ -194,8 +192,6 @@ impl Display {
|
|||
pub const MozBox: Self = Self::new(DisplayOutside::Block, DisplayInside::MozBox);
|
||||
#[cfg(feature = "gecko")]
|
||||
pub const MozInlineBox: Self = Self::new(DisplayOutside::Inline, DisplayInside::MozBox);
|
||||
#[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.
|
||||
#[inline]
|
||||
|
@ -558,8 +554,6 @@ impl Parse for Display {
|
|||
"-moz-box" if moz_display_values_enabled(context) => Display::MozBox,
|
||||
#[cfg(feature = "gecko")]
|
||||
"-moz-inline-box" if moz_display_values_enabled(context) => Display::MozInlineBox,
|
||||
#[cfg(feature = "gecko")]
|
||||
"-moz-popup" if moz_display_values_enabled(context) => Display::MozPopup,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue