From 6cc5176fa3b1f825899cc1dec3f6b410b77c9a80 Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Thu, 30 Jan 2025 18:11:58 +0000 Subject: [PATCH] Address comments --- source | 63 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/source b/source index a7089d03d8b..cf250397790 100644 --- a/source +++ b/source @@ -61801,37 +61801,6 @@ interface HTMLDialogElement : HTMLElement { data-x="attr-hidden">hidden attribute to hide it.

-

The following attribute change - steps, given element, localName, oldValue, - value, and namespace are used for dialog elements:

- -
    -
  1. If namespace is not null, then return.

  2. - -
  3. If localName is not open, then - return.

  4. - -
  5. If value is null:

    - -
      -
    1. Remove element from element's - node document's open dialogs list.

    2. - -
    3. If element's close watcher is - not null, then:

      - -
        -
      1. Destroy element's close watcher.

      2. - -
      3. Set element's close watcher to - null.

      4. -
      -
    4. -
    -
  6. -
-

The tabindex attribute must not be specified on dialog elements.

@@ -62196,6 +62165,38 @@ interface HTMLDialogElement : HTMLElement { removedNode's node document's open dialogs list.

+

The following attribute change + steps, given element, localName, oldValue, + value, and namespace are used for dialog elements:

+ +
    +
  1. If namespace is not null, then return.

  2. + +
  3. If localName is not open, then + return.

  4. + +
  5. If value is null:

    + +
      +
    1. Remove element from element's + node document's open dialogs list.

    2. + +
    3. +

      If element's close watcher is not + null, then:

      + +
        +
      1. Destroy element's close watcher.

      2. + +
      3. Set element's close watcher to + null.

      4. +
      +
    4. +
    +
  6. +
+

The close(returnValue) method steps are: