Skip to content

Commit

Permalink
split into two algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
josepharhar committed Feb 7, 2024
1 parent 6f65d03 commit d84add3
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -59316,8 +59316,8 @@ fur
<li><p>Otherwise, if <var>submitter</var> has a <span data-x="concept-fe-value">value</span>,
then set <var>result</var> to that <span data-x="concept-fe-value">value</span>.</p></li>

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

<li><p>Return.</p></li>
</ol>
Expand Down Expand Up @@ -61063,7 +61063,7 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
return.</p></li>

<li><p>If <var>value</var> is null, then <span>close the dialog</span> given
<var>element</var>, null, and true.</p></li>
<var>element</var> and null.</p></li>
</ol>

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

<li><p><span>Close the dialog</span> given <span>this</span>, <var>returnValue</var>, and
false.</p></li>
<li><p><span>Close the dialog with attribute changes</span> given <span>this</span> and
<var>returnValue</var>.</p></li>
</ol>

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

<ol>
<li>
Expand All @@ -61272,6 +61271,13 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
</ol>
</li>

<li><p>Run <span>close the dialog</span> given <var>subject</var> and <var>result</var>.</p></li>
</ol>

<p>To <dfn>close the dialog</dfn> given a <code>dialog</code> element <var>subject</var> and a
string or null <var>result</var>:</p>

<ol>
<li><p>If the <span>is modal</span> flag of <var>subject</var> is true, then <span>request an
element to be removed from the top layer</span> given <var>subject</var>.</p></li>

Expand Down

0 comments on commit d84add3

Please sign in to comment.