From c1cebe80b791ece626c248691e8725f2ec6c3dba Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Tue, 13 Jun 2023 09:14:32 -0700 Subject: [PATCH 1/2] squash and rebase --- source | 56 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/source b/source index 67d4be7b2b5..0071e680d17 100644 --- a/source +++ b/source @@ -3329,10 +3329,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute define how the Fullscreen API interacts with HTML:

The following features are defined in CSS Multi-column Layout. HTMLDialogElement : HTMLElement {

  • If this's node document's top layer does not - already contain this, then add this to this's node - document's top layer.

  • + already contain this, then add an element + to the top layer given this.

  • Set this's previously focused element to the focused element.

  • @@ -60405,11 +60406,10 @@ interface HTMLDialogElement : HTMLElement {
  • Set topDocument's autofocus processed flag to true.

  • -

    If at any time a dialog element is removed from a Document, then if that dialog is in that - Document's top layer, it must be removed from it. Also, set the dialog element's - is modal flag to false. +

    The dialog HTML element removing steps, given removedNode + and oldParent, are if removedNode's node document's top + layer contains removedNode, then + remove an element from the top layer immediately given removedNode.

    The close(returnValue) method steps are: @@ -60430,8 +60430,8 @@ interface HTMLDialogElement : HTMLElement {

  • Remove subject's open attribute.

  • -
  • If the is modal flag of subject is true, then remove it from its Document's top layer.

  • +
  • If the is modal flag of subject is true, then request an + element to be removed from the top layer given subject.

  • Set the is modal flag of subject to false.

  • @@ -76995,9 +76995,9 @@ interface VisibilityStateEntry : PerformanceEntry descendants can become inert in a similar fashion.

    The dialog element's showModal() method causes this mechanism to trigger, by - adding the dialog element to its node - document's top layer.

    + data-x="dom-dialog-showModal">showModal() method causes this mechanism to trigger, by adding the dialog element to its + node document's top layer.

    The inert attribute

    @@ -82511,7 +82511,7 @@ dictionary DragEventInit : MouseEventInit {
  • Let originallyFocusedElement be document's focused area of the document's DOM anchor.

  • -
  • Add element to document's top layer.

  • +
  • Add an element to the top layer given element.

  • Set element's popover visibility state to showing.

  • @@ -82627,11 +82627,14 @@ dictionary DragEventInit : MouseEventInit { data-x="event-beforetoggle">beforetoggle event could have disconnected element or changed its popover attribute.

    + +
  • Request an element to be removed from the top layer given + element.

  • -
  • Remove element from the top - layer.

  • +
  • Otherwise, remove an element from the top layer immediately given + element.

  • Set element's popover visibility state to hidden.

  • @@ -102059,6 +102062,9 @@ import "https://example.com/foo/../module2.mjs";
  • For each fully active Document in docs, update the rendering or user interface of that Document and its node navigable to reflect the current state.

  • + +
  • For each fully active Document doc in + docs run process top layer removals given doc.

  • @@ -126886,6 +126892,16 @@ if (s = prompt('What is your name?')) { +

    The top layer

    + +

    The top layer is defined by CSS, and HTML needs some top layer behavior to apply + to all elements as follows:

    + +
    *|* {
    +  overlay: none !important
    +}
    + +

    Obsolete features

    From 90dedc8058067fc1ce46cfd848f1989f2d1038b4 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Tue, 20 Jun 2023 11:33:23 -0700 Subject: [PATCH 2/2] remove overlay user-agent stylesheet --- source | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source b/source index 0071e680d17..b30a6c9cf7e 100644 --- a/source +++ b/source @@ -126892,16 +126892,6 @@ if (s = prompt('What is your name?')) { -

    The top layer

    - -

    The top layer is defined by CSS, and HTML needs some top layer behavior to apply - to all elements as follows:

    - -
    *|* {
    -  overlay: none !important
    -}
    - -

    Obsolete features