Bug 282337
Summary: | [popover] Add option to set invoker from imperative API | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mason Freed <masonf> |
Component: | DOM | Assignee: | Luke Warlow <lwarlow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | lwarlow, nicole, ntim, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=286575 |
Mason Freed
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](https://www.w3.org/TR/css-anchor-position-1/#implicit-anchor-element) reference for that popover.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/139362169>
Luke Warlow
Pull request: https://github.com/WebKit/WebKit/pull/37591
Tim Nguyen (:ntim)
Let's split anchor positioning integration into another bug given Luke has a PR for the first part.
EWS
Committed 287624@main (899ca0cd494c): <https://commits.webkit.org/287624@main>
Reviewed commits have been landed. Closing PR #37591 and removing active labels.