From 67aae294d1410725113c4049e65391233d4f1ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 9 May 2022 13:08:38 +0200 Subject: [PATCH 1/2] Clarify that modal dialogs escape inertness of ancestors. --- source | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/source b/source index 888af34a9dc..17ef470daf5 100644 --- a/source +++ b/source @@ -75959,9 +75959,12 @@ END:VCARD document's top layer. While document is so blocked, every node that is connected to document, with the exception of the subject element and its flat tree descendants, must become - inert. (The elements excepted by this paragraph can additionally become - inert through other means; being part of a modal dialog does not "protect" a node - from being inert.)

+ inert. + +

subject can additionally become inert via the + inert attribute, but only if specified on subject + itself (i.e., subject escapes inertness of ancestors); subject's + flat tree descendants can become inert in a similar fashion.

The dialog element's showModal() method causes this mechanism to trigger, by @@ -75971,8 +75974,9 @@ END:VCARD

The inert attribute

The inert attribute is a boolean attribute that - indicates, by its presence, that the element and all its flat tree descendants are - to be made inert by the user agent.

+ indicates, by its presence, that the element and all its flat tree descendants which + don't otherwise escape inertness (such as modal dialogs) are to be made inert by the + user agent.

By default, there is no persistent visual indication of a subtree being inert. Authors are encouraged to clearly mark what parts of their document are active and which are From b32781ee9c378dcf9f5e8f5a1681cb6f21d25c5b Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Wed, 18 May 2022 10:43:48 -0700 Subject: [PATCH 2/2] Nit --- source | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source b/source index 17ef470daf5..a98bab430a3 100644 --- a/source +++ b/source @@ -75959,12 +75959,12 @@ END:VCARD document's top layer. While document is so blocked, every node that is connected to document, with the exception of the subject element and its flat tree descendants, must become - inert. + inert.

-

subject can additionally become inert via the - inert attribute, but only if specified on subject - itself (i.e., subject escapes inertness of ancestors); subject's - flat tree descendants can become inert in a similar fashion. +

subject can additionally become inert via the inert attribute, but only if specified on subject itself + (i.e., subject escapes inertness of ancestors); subject's flat + tree descendants can become inert in a similar fashion.

The dialog element's showModal() method causes this mechanism to trigger, by