mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Make the document blocked by the topmost element in the top layer.
Spec: https://html.spec.whatwg.org/multipage/#blocked-by-a-modal-dialog Depends on D86392 Differential Revision: https://phabricator.services.mozilla.com/D86227
This commit is contained in:
parent
5d5d4f4429
commit
cf496e4727
4 changed files with 7 additions and 0 deletions
|
@ -163,6 +163,9 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
/// pointer-events: none;
|
||||
/// cursor: default;
|
||||
///
|
||||
/// NOTE: dialog:-moz-topmost-modal-dialog is used to override above
|
||||
/// rules to remove the inertness for the topmost modal dialog.
|
||||
///
|
||||
/// NOTE: If this or the pointer-events tweak is removed, then
|
||||
/// minimal-xul.css and the scrollbar style caching need to be tweaked.
|
||||
fn adjust_for_inert(&mut self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue