mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
style: Implement overflow: overlay as an alias on auto, and enable on Nightly
See related webcompat issues and discussion in https://github.com/w3c/csswg-drafts/issues/8063 Differential Revision: https://phabricator.services.mozilla.com/D165058
This commit is contained in:
parent
40f5dbb1ab
commit
042864d34a
1 changed files with 4 additions and 1 deletions
|
@ -2207,7 +2207,10 @@ impl Parse for Overflow {
|
|||
"clip" => Self::Clip,
|
||||
#[cfg(feature = "gecko")]
|
||||
"-moz-hidden-unscrollable" if static_prefs::pref!("layout.css.overflow-moz-hidden-unscrollable.enabled") => {
|
||||
Overflow::Clip
|
||||
Overflow::Clip
|
||||
},
|
||||
"overlay" if static_prefs::pref!("layout.css.overflow-overlay.enabled") => {
|
||||
Overflow::Auto
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue