Bug 299630

Summary: Update popover UA default stylesheet to use place-self: dialog to avoid conflicting with anchor positioning
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: Layout and RenderingAssignee: fantasai <fantasai.bugs>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bfulgham, kiet.ho, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 299995    
Bug Blocks: 291856    

fantasai
Reported 2025-09-26 13:17:45 PDT
The CSS Working Group recently added a new `dialog` value for align-self/justify-self in order to represent a better default behavior for popovers: centering by default, but using the position-area defaults when anchor-positioned. See https://github.com/whatwg/html/pull/11656 and https://github.com/w3c/csswg-drafts/issues/10258 This is an issue which trips people up a lot when using anchor positioning combined with popovers, see https://github.com/w3c/csswg-drafts/issues/12466 Opening this bug to track implementation of this change.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-02 11:40:53 PDT
fantasai
Comment 2 2025-10-02 11:50:25 PDT
Note You need to log in before you can comment on or make changes to this bug.