Bug 260463

Summary: When <details> is open and closed multiple times (coalesced tasks), the ToggleEvent oldState is set wrong
Product: WebKit Reporter: sideshowbarker <mike>
Component: DOMAssignee: sideshowbarker <mike>
Status: RESOLVED FIXED    
Severity: Normal CC: ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/41559
https://bugs.webkit.org/show_bug.cgi?id=252373

Description sideshowbarker 2023-08-21 02:18:04 PDT
https://commits.webkit.org/267076@main didn’t get the ToggleEvent oldState value set correctly in the case where the <details> element is open and closed multiple times (toggled back and forth)
Comment 1 sideshowbarker 2023-08-21 04:42:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16881
Comment 2 sideshowbarker 2023-08-21 06:32:06 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/41559
Comment 3 EWS 2023-08-21 09:14:03 PDT
Committed 267089@main (06b30c68edf9): <https://commits.webkit.org/267089@main>

Reviewed commits have been landed. Closing PR #16881 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-08-21 09:15:25 PDT
<rdar://problem/114198127>