RESOLVED FIXED 284226
[popover] Integrate with anchor positioning
https://bugs.webkit.org/show_bug.cgi?id=284226
Summary [popover] Integrate with anchor positioning
Tim Nguyen (:ntim)
Reported 2024-12-07 06:09:55 PST
See https://github.com/whatwg/html/pull/10728 for details. - 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
Radar WebKit Bug Importer
Comment 1 2024-12-07 06:10:12 PST
fantasai
Comment 2 2025-05-14 12:44:50 PDT
Some code pointers from Tim: Implicit anchor for popovers: https://searchfox.org/wubkat/search?q=symbol:_ZNK7WebCore11PopoverData7invokerEv&redirect=false Maps from names to elements here -- these would not work with implicit anchor (since the name is auto) https://searchfox.org/wubkat/rev/87ca7ad48ea92e0a1972e92dc8b28f3df63e89fa/Source/WebCore/style/AnchorPositionEvaluator.h#63 These conditionals need to be updated: https://searchfox.org/wubkat/search?q=anchorNames%28%29&path=&case=false&regexp=false
Antti Koivisto
Comment 3 2025-06-09 04:27:13 PDT
EWS
Comment 4 2025-06-09 08:12:30 PDT
Committed 295995@main (6bea8210e2b5): <https://commits.webkit.org/295995@main> Reviewed commits have been landed. Closing PR #46495 and removing active labels.
Antti Koivisto
Comment 5 2025-06-09 08:45:41 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/53022
Note You need to log in before you can comment on or make changes to this bug.