[wpt-sync] Sync PR 42824 - Add invoketarget logic for details
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42824 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42824
Details from upstream follow.
Luke Warlow <luke@warlow.dev> wrote:
Add invoketarget logic for details
This adds the logic on how buttons with an invoketarget pointing to a
details element should behave, based on the Invokers proposal.See explainer section here:
https://open-ui.org/components/invokers.explainer/#defaults.This implements HandleInvokeInternal on HTMLDetailsElement with the
auto, toggle, close and open actions.Bug: 1497154
Change-Id: Iff06abdbe3a94fa29e4a2b5c3f67519928f12c4c
Reviewed-on: https://chromium-review.googlesource.com/4987521
WPT-Export-Revision: 13d3fdc68614a3370ae3014be284d12d12789f9f
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 17 subtests
Status Summary
Firefox
OK : 1
PASS: 8
FAIL: 9
Chrome
OK : 1
PASS: 8
FAIL: 9
Safari
OK : 1
PASS: 8
FAIL: 9
Links
Details
New Tests That Don't Pass
- /html/semantics/invokers/invoketarget-on-details-behavior.tentative.html [wpt.fyi]
- invoking closed details with auto action opens:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking open details with auto action opens:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking closed details with toggle action opens:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking closed details with toggle (case-insensitive) action opens:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking open details with toggle action closes:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking closed details with open action opens:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking closed details with open (case insensitive) action opens:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking open details with close action closes:
FAIL(Chrome:FAIL, Safari:FAIL) - invoking open details with close (case insensitive) action closes:
FAIL(Chrome:FAIL, Safari:FAIL)
- invoking closed details with auto action opens:
Comment 5•2 years ago
|
||
| bugherder | ||
Description
•