From b33a63fd98b5edbe997a929ea9eb100f63feb47a Mon Sep 17 00:00:00 2001
From: Luke Warlow
Date: Mon, 27 Jan 2025 19:37:38 +0000
Subject: [PATCH] Add attribute changed steps to dialog element
When the open attribute is removed from the dialog element we remove the element from the document's open dialogs list.
---
source | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/source b/source
index d0d75d360ce..d60bf7b7b18 100644
--- a/source
+++ b/source
@@ -61801,6 +61801,21 @@ interface HTMLDialogElement : HTMLElement {
data-x="attr-hidden">hidden attribute to hide it.
+ The following attribute change
+ steps, given element, localName, oldValue,
+ value, and namespace are used for dialog
elements:
+
+
+ If namespace is not null, then return.
+
+ If localName is not open
, then
+ return.
+
+ If value is null, then remove
+ element from element's node document's open dialogs
+ list.
+
+
The tabindex
attribute must not be specified on
dialog
elements.