From 1813a0427ce8a8811928900872526b65009ade9b Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Wed, 7 Jun 2023 03:18:47 -0700 Subject: [PATCH] Fix modal check in dialog closing algorithm The value for is modal needs to be cached. This was pointed out here: https://github.com/whatwg/html/pull/9178#issuecomment-1577501107. --- source | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source b/source index fa06a2c898e..19d4b6b0ee5 100644 --- a/source +++ b/source @@ -60548,6 +60548,9 @@ interface HTMLDialogElement : HTMLElement {
  • Let wasModal be the value of subject's is modal flag.

  • +
  • Let wasModal be the value of subject's is + modal flag.

  • +
  • Set the is modal flag of subject to false.

  • If result is not null, then set the