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 21, 2023
1 parent e4ccf37 commit 4436b86
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 @@ -60508,6 +60508,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 4436b86

Please sign in to comment.