From f5def65bda4d01a6a1e105fcf13fe45201b4f48a Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Wed, 23 Mar 2022 09:15:21 -0700 Subject: [PATCH] Add hidden=until-found and beforematch Closes #6040. Explainer: https://github.com/WICG/display-locking/blob/main/explainers/hidden-content-explainer.md --- source | 232 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 203 insertions(+), 29 deletions(-) diff --git a/source b/source index 99240e590d6..436795b3cf0 100644 --- a/source +++ b/source @@ -3814,10 +3814,12 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • '::file-selector-button'
  • -

    The following term is defined in CSS Containment:

    +

    The following terms are defined in CSS Containment:

    @@ -10405,7 +10407,7 @@ interface HTMLElement : Element { [CEReactions] attribute DOMString dir; // user interaction - [CEReactions] attribute boolean hidden; + [CEReactions] attribute (boolean or unrestricted double or DOMString)? hidden; [CEReactions] attribute boolean inert; undefined click(); [CEReactions] attribute DOMString accessKey; @@ -11793,6 +11795,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%