Closed
Bug 1857887
Opened 2 years ago
Closed 2 years ago
Add `invoketarget` & `invokeaction` attributes
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
121 Branch
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: keithamus, Assigned: keithamus)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•2 years ago
|
||
This adds support for the experimental invoketarget and invokeaction
attributes, as specified in the open-ui "Invokers" explainer.
(https://open-ui.org/components/invokers.explainer/)
The invoketarget attribute maps to the IDL invokeTargetElement,
similar to popoverTargetElement, and the invokeaction is a freeform
string.
The Button behaviour checks for invokeTargetElement in its activation
behaviour, and dispatches an InvokeEvent if there is one.
This also adds some basic scaffolding for handleInvokeInternal which
will allow elements to provide their own invocation action algorithms.
Updated•2 years ago
|
Assignee: nobody → keithamus
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Updated•2 years ago
|
Summary: Add `invketarget` & `invokeaction` attributes → Add `invoketarget` & `invokeaction` attributes
Pushed by mozilla@keithcirkel.co.uk:
https://hg.mozilla.org/integration/autoland/rev/9305bb731ce8
Add invoketarget & invoketarget action attributes r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43023 for changes under testing/web-platform/tests
Comment 4•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•