Skip to content

Commit d84add3

Browse files
committed
split into two algorithms
1 parent 6f65d03 commit d84add3

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

source

+14-8
Original file line numberDiff line numberDiff line change
@@ -59316,8 +59316,8 @@ fur
5931659316
<li><p>Otherwise, if <var>submitter</var> has a <span data-x="concept-fe-value">value</span>,
5931759317
then set <var>result</var> to that <span data-x="concept-fe-value">value</span>.</p></li>
5931859318

59319-
<li><p><span>Close the dialog</span> given <var>subject</var>, <var>result</var>, and
59320-
false.</p></li>
59319+
<li><p><span>Close the dialog with attribute changes</span> given <var>subject</var> and
59320+
<var>result</var>.</p></li>
5932159321

5932259322
<li><p>Return.</p></li>
5932359323
</ol>
@@ -61063,7 +61063,7 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
6106361063
return.</p></li>
6106461064

6106561065
<li><p>If <var>value</var> is null, then <span>close the dialog</span> given
61066-
<var>element</var>, null, and true.</p></li>
61066+
<var>element</var> and null.</p></li>
6106761067
</ol>
6106861068

6106961069
<p>The <code data-x="attr-tabindex">tabindex</code> attribute must not be specified on
@@ -61251,13 +61251,12 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
6125161251
<ol>
6125261252
<li><p>If <var>returnValue</var> is not given, then set it to null.</p></li>
6125361253

61254-
<li><p><span>Close the dialog</span> given <span>this</span>, <var>returnValue</var>, and
61255-
false.</p></li>
61254+
<li><p><span>Close the dialog with attribute changes</span> given <span>this</span> and
61255+
<var>returnValue</var>.</p></li>
6125661256
</ol>
6125761257

61258-
<p>To <dfn data-x="close the dialog">close a dialog</dfn> given a <code>dialog</code> element
61259-
<var>subject</var>, a string or null <var>result</var>, and a boolean
61260-
<var>ignoreOpenAttribute</var>:</p>
61258+
<p>To <dfn>close the dialog with attribute changes</dfn> given a <code>dialog</code> element
61259+
<var>subject</var> and a string or null <var>result</var>:</p>
6126161260

6126261261
<ol>
6126361262
<li>
@@ -61272,6 +61271,13 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
6127261271
</ol>
6127361272
</li>
6127461273

61274+
<li><p>Run <span>close the dialog</span> given <var>subject</var> and <var>result</var>.</p></li>
61275+
</ol>
61276+
61277+
<p>To <dfn>close the dialog</dfn> given a <code>dialog</code> element <var>subject</var> and a
61278+
string or null <var>result</var>:</p>
61279+
61280+
<ol>
6127561281
<li><p>If the <span>is modal</span> flag of <var>subject</var> is true, then <span>request an
6127661282
element to be removed from the top layer</span> given <var>subject</var>.</p></li>
6127761283

0 commit comments

Comments
 (0)