style: implement -moz-inert CSS property.

-moz-inert CSS property reflects inert subtrees concept and can be used to implement HTML:dialog element and HTML:inert attribute

Differential Revision: https://phabricator.services.mozilla.com/D81701
This commit is contained in:
Alexander Surkov 2020-07-26 21:30:56 +00:00 committed by Emilio Cobos Álvarez
parent cd8c07abac
commit 32f92d18a8
6 changed files with 69 additions and 0 deletions

View file

@ -145,6 +145,9 @@ bitflags! {
///
/// https://html.spec.whatwg.org/multipage/#centered-alignment
const IN_MODAL_DIALOG_STATE = 1 << 53;
/// https://html.spec.whatwg.org/multipage/interaction.html#inert-subtrees
const IN_MOZINERT_STATE = 1 << 54;
}
}