[webkit-changes] [WebKit/WebKit] 74637c: Use ToggleEvent for <details> element toggle event
sideshowbarker
noreply at github.com
Sun Aug 20 14:01:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 74637c383d415af9b4e4ca2ce7fbb3268e6ead85
https://github.com/WebKit/WebKit/commit/74637c383d415af9b4e4ca2ce7fbb3268e6ead85
Author: Michael[tm] Smith <mike at w3.org>
Date: 2023-08-20 (Sun, 20 Aug 2023)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/imported/w3c/resources/import-expectations.json
M LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html
M Source/WebCore/html/HTMLDetailsElement.cpp
M Source/WebCore/html/HTMLDetailsElement.h
Log Message:
-----------
Use ToggleEvent for <details> element toggle event
https://bugs.webkit.org/show_bug.cgi?id=252373
Reviewed by Tim Nguyen.
This change makes ToggleEvent be used for the event that’s fired when a
“details” element is opened or closed, while handling the case of
coalesced events.
* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/resources/import-expectations.json:
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html:
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/w3c-import.log:
* Source/WebCore/html/HTMLDetailsElement.cpp:
(WebCore::HTMLDetailsElement::queueDetailsToggleEventTask):
(WebCore::HTMLDetailsElement::attributeChanged):
* Source/WebCore/html/HTMLDetailsElement.h:
Canonical link: https://commits.webkit.org/267076@main
More information about the webkit-changes
mailing list