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:
Sean Feng 2020-08-17 15:41:19 +00:00 committed by Emilio Cobos Álvarez
parent 5d5d4f4429
commit cf496e4727
4 changed files with 7 additions and 0 deletions

View file

@ -148,6 +148,8 @@ bitflags! {
/// https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees
const IN_MOZINERT_STATE = 1 << 54;
/// State for the topmost dialog element in top layer
const IN_TOPMOST_MODAL_DIALOG_STATE = 1 << 55;
}
}