Skip to content

Commit

Permalink
Editorial: group dialog properties
Browse files Browse the repository at this point in the history
This groups all the properties (returnValue, closedBy, and open) together. Part of #10963.
keithamus authored Jan 31, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent ac3ac09 commit 56efea9
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions source
Original file line number Diff line number Diff line change
@@ -62294,11 +62294,6 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
</li>
</ol>

<p>The <dfn attribute for="HTMLDialogElement"><code
data-x="dom-dialog-returnValue">returnValue</code></dfn> IDL attribute, on getting, must return
the last value to which it was set. On setting, it must be set to the new value. When the element
is created, it must be set to the empty string.</p>

</div>

<div class="note" id="note-dialog-method-names">
@@ -62338,6 +62333,20 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {

<div w-nodev>

<p>The <dfn attribute for="HTMLDialogElement"><code
data-x="dom-dialog-returnValue">returnValue</code></dfn> IDL attribute, on getting, must return
the last value to which it was set. On setting, it must be set to the new value. When the element
is created, it must be set to the empty string.</p>

<p>The <dfn attribute for="HTMLDialogElement"><code
data-x="dom-dialog-closedBy">closedBy</code></dfn> IDL attribute must <span>reflect</span> the
<code data-x="attr-dialog-closedby">closedby</code> content attribute, <span>limited to only
known values</span>.</p>

<p>The <dfn attribute for="HTMLDialogElement"><code data-x="dom-dialog-open">open</code></dfn> IDL
attribute must <span>reflect</span> the <code data-x="attr-dialog-open">open</code> content
attribute.</p>

<hr>

<p>The <code>Document</code> has a <dfn>dialog pointerdown target</dfn>, which is an <span
@@ -62364,15 +62373,6 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {

<hr>

<p>The <dfn attribute for="HTMLDialogElement"><code
data-x="dom-dialog-closedBy">closedBy</code></dfn> IDL attribute must <span>reflect</span> the
<code data-x="attr-dialog-closedby">closedby</code> content attribute, <span>limited to only
known values</span>.</p>

<p>The <dfn attribute for="HTMLDialogElement"><code data-x="dom-dialog-open">open</code></dfn> IDL
attribute must <span>reflect</span> the <code data-x="attr-dialog-open">open</code> content
attribute.</p>

</div>

<h4><dfn>Dialog light dismiss</dfn></h4>

0 comments on commit 56efea9

Please sign in to comment.