@@ -61649,8 +61649,9 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
61649
61649
to the top layer</span> given <span>this</span>.</p></li>
61650
61650
61651
61651
<li id="canceling-dialogs">
61652
- <p>Set <span>this</span>'s <span data-x="dialog-close-watcher">close watcher</span> to the
61653
- result of <span data-x="establish a close watcher">establishing a close watcher</span> given
61652
+ <p>If <span>this</span>'s <span>node document</span> is <span>fully active</span>, then set
61653
+ <span>this</span>'s <span data-x="dialog-close-watcher">close watcher</span> to the result of
61654
+ <span data-x="establish a close watcher">establishing a close watcher</span> given
61654
61655
<span>this</span>'s <span>relevant global object</span>, with:</p>
61655
61656
61656
61657
<ul>
@@ -61664,6 +61665,10 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
61664
61665
<li><p><i data-x="create-close-watcher-closeAction">closeAction</i> being to <span>close the
61665
61666
dialog</span> given <span>this</span> and null.</p></li>
61666
61667
</ul>
61668
+
61669
+ <p class="XXX">It would be better if this method failed early for the non-<span>fully
61670
+ active</span> case. That is being tracked in <a
61671
+ href="https://github.com/whatwg/html/issues/10659">issue #10659</a>.</p>
61667
61672
</li>
61668
61673
61669
61674
<li><p>Set <span>this</span>'s <span>previously focused element</span> to the
@@ -85392,9 +85397,10 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
85392
85397
</li>
85393
85398
85394
85399
<li id="canceling-popovers">
85395
- <p>Set <var>element</var>'s <span>popover close watcher</span> to the result of <span
85396
- data-x="establish a close watcher">establishing a close watcher</span> given
85397
- <var>element</var>'s <span>relevant global object</span>, with:</p>
85400
+ <p>If <var>document</var> is <span>fully active</span>, then set <var>element</var>'s
85401
+ <span>popover close watcher</span> to the result of <span data-x="establish a close
85402
+ watcher">establishing a close watcher</span> given <var>element</var>'s <span>relevant global
85403
+ object</span>, with:</p>
85398
85404
85399
85405
<ul>
85400
85406
<li><p><i data-x="create-close-watcher-cancelAction">cancelAction</i> being to return
@@ -85404,6 +85410,10 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
85404
85410
data-x="hide popover algorithm">hide a popover</span> given <var>element</var>, true, true,
85405
85411
and false.</p></li>
85406
85412
</ul>
85413
+
85414
+ <p class="XXX">It would be better if this algorithm failed early for the non-<span>fully
85415
+ active</span> case. That is being tracked in <a
85416
+ href="https://github.com/whatwg/html/issues/10659">issue #10659</a>.</p>
85407
85417
</li>
85408
85418
</ol>
85409
85419
</li>
0 commit comments