Skip to content

Commit

Permalink
Fix modal check in dialog closing algorithm
Browse files Browse the repository at this point in the history
The value for is modal needs to be cached. This was pointed out here:
whatwg#9178 (comment).
  • Loading branch information
josepharhar authored and rubberyuzu committed Jul 25, 2023
1 parent 9189e02 commit 1813a04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -60548,6 +60548,9 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
<li><p>Let <var>wasModal</var> be the value of <var>subject</var>'s <span>is
modal</span> flag.</p></li>

<li><p>Let <var>wasModal</var> be the value of <var>subject</var>'s <span>is
modal</span> flag.</p></li>

<li><p>Set the <span>is modal</span> flag of <var>subject</var> to false.</p></li>

<li><p>If <var>result</var> is not null, then set the <code
Expand Down

0 comments on commit 1813a04

Please sign in to comment.