mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Make -moz-box-layout: flex default, and clean-up CSS
Now it's on by default everywhere, so all this is not needed. No behavior change effectively since the xul.css bits being removed effectively achieve the same. Differential Revision: https://phabricator.services.mozilla.com/D170944
This commit is contained in:
parent
4da83f238a
commit
9a37424dca
2 changed files with 2 additions and 6 deletions
|
@ -618,7 +618,7 @@ macro_rules! bool_pref_feature {
|
||||||
/// to support new types in these entries and (2) ensuring that either
|
/// to support new types in these entries and (2) ensuring that either
|
||||||
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
||||||
/// would be returned by the evaluator function could change.
|
/// would be returned by the evaluator function could change.
|
||||||
pub static MEDIA_FEATURES: [QueryFeatureDescription; 64] = [
|
pub static MEDIA_FEATURES: [QueryFeatureDescription; 63] = [
|
||||||
feature!(
|
feature!(
|
||||||
atom!("width"),
|
atom!("width"),
|
||||||
AllowsRanges::Yes,
|
AllowsRanges::Yes,
|
||||||
|
@ -916,10 +916,6 @@ pub static MEDIA_FEATURES: [QueryFeatureDescription; 64] = [
|
||||||
),
|
),
|
||||||
lnf_int_feature!(atom!("-moz-system-dark-theme"), SystemUsesDarkTheme),
|
lnf_int_feature!(atom!("-moz-system-dark-theme"), SystemUsesDarkTheme),
|
||||||
lnf_int_feature!(atom!("-moz-panel-animations"), PanelAnimations),
|
lnf_int_feature!(atom!("-moz-panel-animations"), PanelAnimations),
|
||||||
bool_pref_feature!(
|
|
||||||
atom!("-moz-box-flexbox-emulation"),
|
|
||||||
"layout.css.moz-box-flexbox-emulation.enabled"
|
|
||||||
),
|
|
||||||
// media query for MathML Core's implementation of maction/semantics
|
// media query for MathML Core's implementation of maction/semantics
|
||||||
bool_pref_feature!(
|
bool_pref_feature!(
|
||||||
atom!("-moz-mathml-core-maction-and-semantics"),
|
atom!("-moz-mathml-core-maction-and-semantics"),
|
||||||
|
|
|
@ -47,7 +47,7 @@ ${helpers.single_keyword(
|
||||||
|
|
||||||
${helpers.single_keyword(
|
${helpers.single_keyword(
|
||||||
"-moz-box-layout",
|
"-moz-box-layout",
|
||||||
"legacy flex",
|
"flex legacy",
|
||||||
engines="gecko",
|
engines="gecko",
|
||||||
gecko_enum_prefix="StyleMozBoxLayout",
|
gecko_enum_prefix="StyleMozBoxLayout",
|
||||||
animation_value_type="none",
|
animation_value_type="none",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue