Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1852896 [wpt PR 41935] - Strictly enforce exclusive semantics for…
… <details name>., a=testonly Automatic update from web-platform-tests Strictly enforce exclusive semantics for <details name>. This change thoroughly enforces that at most one <details> element in a group established by the name attribute is open at a given time. This requires that we remove the open attribute during insertion into the DOM in some cases, and also that we remove the open attribute for some mutations of the name attribute. This suppresses DOM mutation events (but not toggle events, which are asynchronous) for the removals of the open attribute that result from insertion. This is based on discussion in (among other places): openui/open-ui#786 openui/open-ui#812 Bug: 1444057 Change-Id: I91313662f6fb005b461717445a69294bcb4d1a59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4829108 Reviewed-by: Mason Freed <masonfchromium.org> Commit-Queue: David Baron <dbaronchromium.org> Cr-Commit-Position: refs/heads/main{#1195601} -- wpt-commits: ed2370ffc32409636abc9ec49b9d48dd6c36fdcc wpt-pr: 41935 UltraBlame original commit: 498104795074ebf17d5698b1ef637f97a544e8e7
- Loading branch information