Skip to content

Commit

Permalink
Add connected check to dialog invoker command steps for show-modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Feb 19, 2025
1 parent 81fa58f commit 2d9ea35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -62501,10 +62501,10 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
</ol>
</li>

<li><p>If <var>command</var> is the <span
data-x="attr-button-command-show-modal-state">Show Modal</span> state and <var>element</var> does
not have an <code data-x="attr-dialog-open">open</code> attribute, then
<span>show a modal dialog</span> given <var>element</var>.</p></li>
<li><p>If <var>command</var> is the <span data-x="attr-button-command-show-modal-state">Show
Modal</span> state, <var>element</var> does not have an <code
data-x="attr-dialog-open">open</code> attribute, and <var>element</var> is
<span>connected</span>, then <span>show a modal dialog</span> given <var>element</var>.</p></li>
</ol>

<div class="example">
Expand Down

0 comments on commit 2d9ea35

Please sign in to comment.