Bug 260452

Summary: Add missing asserts in web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html test
Product: WebKit Reporter: sideshowbarker <mike>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ntim
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=252373

sideshowbarker
Reported 2023-08-20 19:07:45 PDT
In https://commits.webkit.org/267076@main I updated LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html but had inadvertently neglected to include some asserts for the details6 _“Calling open twice on 'details' fires only one toggle event”_ test.
Attachments
sideshowbarker
Comment 1 2023-08-21 02:20:19 PDT
Superseded by https://bugs.webkit.org/show_bug.cgi?id=260463. After further testing, I realized it’s not just that the asserts are missing — but also that the implementation isn’t setting the ToggleEvent oldState correctly.
Note You need to log in before you can comment on or make changes to this bug.