Closed
Bug 1928128
Opened 1 year ago
Closed 11 months ago
Implementation bug for addition of options to popover APIs and connection to anchor pos
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: masonf, Assigned: keithamus)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [anchorpositioning:m2])
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Steps to reproduce:
See https://github.com/whatwg/html/pull/10728 for details.
Two changes are being made to the popover API in that PR:
- The showPopover() and togglePopover() methods now include an options bag that allows setting the popover invoker implicitly.
- Popover invokers (set declaratively or imperatively) now create an implicit anchor element reference for that popover.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Assignee: nobody → mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Updated•1 year ago
|
Blocks: css-anchor-position-1
Updated•11 months ago
|
| Assignee | ||
Comment 1•11 months ago
|
||
We implemented imperative invokers in bug 1936411. Bug 1924210 tracks the layout piece for implicit anchors, so I think the necessary work is done here.
My understanding is that the "implicit anchor" will always be the invoker. Therefore the API would be GetPopoverData()->GetInvoker() (https://searchfox.org/firefox-main/source/dom/base/PopoverData.h#77).
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Updated•11 months ago
|
Points: 3 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•