[webkit-changes] [WebKit/WebKit] d4b4fa: Add support for the “details” element’s “name” att...
sideshowbarker
noreply at github.com
Thu Sep 7 16:04:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d4b4fa5cfed7b41046a9e62017e7a6e787d9d8ba
https://github.com/WebKit/WebKit/commit/d4b4fa5cfed7b41046a9e62017e7a6e787d9d8ba
Author: Michael[tm] Smith <mike at w3.org>
Date: 2023-09-07 (Thu, 07 Sep 2023)
Changed paths:
M LayoutTests/imported/w3c/resources/resource-files.json
M LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/name-content-attribute-and-property-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/name-content-attribute-and-property.html
A LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/name-attribute.tentative-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/name-attribute.tentative.html
A LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/support/empty-html-document.html
A LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/support/w3c-import.log
M LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/w3c-import.log
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/html/HTMLDetailsElement.cpp
M Source/WebCore/html/HTMLDetailsElement.idl
Log Message:
-----------
Add support for the “details” element’s “name” attribute
https://bugs.webkit.org/show_bug.cgi?id=260893
Reviewed by Tim Nguyen.
This changes adds support for the “name” attribute for the “details”
element, which allows grouping together a set of “details” elements such
that opening one “details” element in a group causes all other “details”
elements in the group to close.
https://github.com/whatwg/html/pull/9400
This change also introduces the DetailsNameAttributeEnabled preference
(enabled by default), for controlling whether the “name” attribute
actually causes the grouping/closing behavior described above.
* LayoutTests/imported/w3c/resources/resource-files.json:
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/name-content-attribute-and-property-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/name-content-attribute-and-property.html:
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/name-attribute.tentative-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/name-attribute.tentative.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/support/empty-html-document.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/support/w3c-import.log: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/w3c-import.log:
* LayoutTests/platform/mac/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt: Renamed from LayoutTests/platform/mac-monterey/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/html/HTMLDetailsElement.cpp:
(WebCore::HTMLDetailsElement::attributeChanged):
* Source/WebCore/html/HTMLDetailsElement.idl:
Canonical link: https://commits.webkit.org/267756@main
More information about the webkit-changes
mailing list