mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
style: Ensure options in listbox selects are not stacking contexts by default
We could have a different property or something but this seems reasonable as well probably. Differential Revision: https://phabricator.services.mozilla.com/D146994
This commit is contained in:
parent
9605ed7c74
commit
8c3553226b
1 changed files with 3 additions and 1 deletions
|
@ -1285,7 +1285,9 @@ impl Parse for WillChange {
|
|||
&["will-change", "none", "all", "auto"],
|
||||
)?;
|
||||
|
||||
if ident.0 == atom!("scroll-position") {
|
||||
if context.in_ua_sheet() && ident.0 == atom!("-moz-fixed-pos-containing-block") {
|
||||
bits |= WillChangeBits::FIXPOS_CB_NON_SVG;
|
||||
} else if ident.0 == atom!("scroll-position") {
|
||||
bits |= WillChangeBits::SCROLL;
|
||||
} else {
|
||||
bits |= change_bits_for_maybe_property(&parser_ident, context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue