@@ -61801,6 +61801,37 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
61801
61801
data-x="attr-hidden">hidden</code> attribute to hide it.</p>
61802
61802
</div>
61803
61803
61804
+ <p>The following <span data-x="concept-element-attributes-change-ext">attribute change
61805
+ steps</span>, given <var>element</var>, <var>localName</var>, <var>oldValue</var>,
61806
+ <var>value</var>, and <var>namespace</var> are used for <code>dialog</code> elements:</p>
61807
+
61808
+ <ol>
61809
+ <li><p>If <var>namespace</var> is not null, then return.</p></li>
61810
+
61811
+ <li><p>If <var>localName</var> is not <code data-x="attr-dialog-open">open</code>, then
61812
+ return.</p></li>
61813
+
61814
+ <li><p>If <var>value</var> is null:</p>
61815
+
61816
+ <ol>
61817
+ <li><p><span data-x="list remove">Remove</span> <var>element</var> from <var>element</var>'s
61818
+ <span>node document</span>'s <span>open dialogs list</span>.</p></li>
61819
+
61820
+ <li><p>If <var>element</var>'s <span data-x="dialog-close-watcher">close watcher</span> is
61821
+ not null, then:</p>
61822
+
61823
+ <ol>
61824
+ <li><p><span data-x="close-watcher-destroy">Destroy</span> <var>element</var>'s <span
61825
+ data-x="dialog-close-watcher">close watcher</span>.</p></li>
61826
+
61827
+ <li><p>Set <var>element</var>'s <span data-x="dialog-close-watcher">close watcher</span> to
61828
+ null.</p></li>
61829
+ </ol>
61830
+ </li>
61831
+ </ol>
61832
+ </li>
61833
+ </ol>
61834
+
61804
61835
<p>The <code data-x="attr-tabindex">tabindex</code> attribute must not be specified on
61805
61836
<code>dialog</code> elements.</p>
61806
61837
@@ -62051,6 +62082,9 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
62051
62082
element <var>dialog</var>:</p>
62052
62083
62053
62084
<ol>
62085
+ <li><p><span>Assert</span>: <span>dialog</span>'s <span data-x="dialog-close-watcher">close
62086
+ watcher</span> is null.</p></li>
62087
+
62054
62088
<li>
62055
62089
<p>Set <var>dialog</var>'s <span data-x="dialog-close-watcher">close watcher</span> to the
62056
62090
result of <span data-x="establish a close watcher">establishing a close watcher</span> given
0 commit comments