From 8027fc5a06e917a93d2c6c877488f14082b3fbba Mon Sep 17 00:00:00 2001
From: "L. David Baron"
Date: Tue, 19 Dec 2023 22:02:15 -0500
Subject: [PATCH] Forbid nesting in the same exclusive accordion
Fixes #9968.
---
source | 3 +++
1 file changed, 3 insertions(+)
diff --git a/source b/source
index 719a9e00795..dffcc9efcd2 100644
--- a/source
+++ b/source
@@ -60194,6 +60194,9 @@ interface HTMLDetailsElement : HTMLElement {
data-x="attr-details-open">open attributes in the markup. This requirement on authors
forbids such misleading markup.
+ A document must not contain a details
element that is a descendant of another
+ details
element in the same details name group.
+
Documents that use the name
attribute to group multiple
related details
elements should keep those related elements together in a containing
element (such as a section
element).