mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
style: Push/Pop dialog to top layer when needed.
This patch completes the top layer requirement for showModal() Spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-showmodal Differential Revision: https://phabricator.services.mozilla.com/D74922
This commit is contained in:
parent
1fcc00a11a
commit
54d869c111
3 changed files with 6 additions and 0 deletions
|
@ -141,6 +141,10 @@ bitflags! {
|
|||
///
|
||||
/// https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo
|
||||
const IN_FOCUS_VISIBLE_STATE = 1 << 52;
|
||||
/// State that dialog element is modal, for centered alignment
|
||||
///
|
||||
/// https://html.spec.whatwg.org/#centered-alignment
|
||||
const IN_MODAL_DIALOG_STATE = 1 << 53;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue