@@ -61772,6 +61772,9 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
61772
61772
<li><p>If <span>this</span> has an <code data-x="attr-dialog-open">open</code> attribute, then
61773
61773
throw an <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>
61774
61774
61775
+ <li><p>If <span>this</span>'s <span>node document</span> is not <span>fully active</span>, then
61776
+ throw an <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>
61777
+
61775
61778
<li><p>If <span>this</span> is not <span>connected</span>, then throw an
61776
61779
<span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>
61777
61780
@@ -61801,9 +61804,8 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
61801
61804
to the top layer</span> given <span>this</span>.</p></li>
61802
61805
61803
61806
<li id="canceling-dialogs">
61804
- <p>If <span>this</span>'s <span>node document</span> is <span>fully active</span>, then set
61805
- <span>this</span>'s <span data-x="dialog-close-watcher">close watcher</span> to the result of
61806
- <span data-x="establish a close watcher">establishing a close watcher</span> given
61807
+ <p>Set <span>this</span>'s <span data-x="dialog-close-watcher">close watcher</span> to the
61808
+ result of <span data-x="establish a close watcher">establishing a close watcher</span> given
61807
61809
<span>this</span>'s <span>relevant global object</span>, with:</p>
61808
61810
61809
61811
<ul>
@@ -61817,10 +61819,6 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
61817
61819
<li><p><i data-x="create-close-watcher-closeAction">closeAction</i> being to <span>close the
61818
61820
dialog</span> given <span>this</span> and null.</p></li>
61819
61821
</ul>
61820
-
61821
- <p class="XXX">It would be better if this method failed early for the non-<span>fully
61822
- active</span> case. That is being tracked in <a
61823
- href="https://github.com/whatwg/html/issues/10659">issue #10659</a>.</p>
61824
61822
</li>
61825
61823
61826
61824
<li><p>Set <span>this</span>'s <span>previously focused element</span> to the
@@ -85549,10 +85547,9 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
85549
85547
</li>
85550
85548
85551
85549
<li id="canceling-popovers">
85552
- <p>If <var>document</var> is <span>fully active</span>, then set <var>element</var>'s
85553
- <span>popover close watcher</span> to the result of <span data-x="establish a close
85554
- watcher">establishing a close watcher</span> given <var>element</var>'s <span>relevant global
85555
- object</span>, with:</p>
85550
+ <p>Set <var>element</var>'s <span>popover close watcher</span> to the result of <span
85551
+ data-x="establish a close watcher">establishing a close watcher</span> given
85552
+ <var>element</var>'s <span>relevant global object</span>, with:</p>
85556
85553
85557
85554
<ul>
85558
85555
<li><p><i data-x="create-close-watcher-cancelAction">cancelAction</i> being to return
@@ -85562,10 +85559,6 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
85562
85559
data-x="hide popover algorithm">hide a popover</span> given <var>element</var>, true, true,
85563
85560
and false.</p></li>
85564
85561
</ul>
85565
-
85566
- <p class="XXX">It would be better if this algorithm failed early for the non-<span>fully
85567
- active</span> case. That is being tracked in <a
85568
- href="https://github.com/whatwg/html/issues/10659">issue #10659</a>.</p>
85569
85562
</li>
85570
85563
</ol>
85571
85564
</li>
@@ -86108,6 +86101,9 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
86108
86101
<ul>
86109
86102
<li><p><var>element</var> is not <span>connected</span>;</p></li>
86110
86103
86104
+ <li><p><var>element</var>'s <span>node document</span> is not <span>fully
86105
+ active</span>;</p></li>
86106
+
86111
86107
<li><p><var>expectedDocument</var> is not null and <var>element</var>'s <span>node
86112
86108
document</span> is not <var>expectedDocument</var>;</p></li>
86113
86109
0 commit comments