Bug 300823

Summary: [css-anchor-position-1] Disable auto margins in combination with position-area
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: Layout and RenderingAssignee: fantasai <fantasai.bugs>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 291856    

fantasai
Reported 2025-10-15 12:13:58 PDT
Because the default UA styles for popover use `margin: auto; inset: 0`, making popovers integrate usefully with `position-area` requires disabling those margins. The current proposal for doing this is to disable `auto` margins when `position-area` is not `none`. See https://github.com/w3c/csswg-drafts/issues/10258#issuecomment-3374397145
Attachments
fantasai
Comment 1 2025-10-15 14:38:47 PDT
EWS
Comment 2 2025-10-16 14:56:43 PDT
Committed 301662@main (560b0ef798f3): <https://commits.webkit.org/301662@main> Reviewed commits have been landed. Closing PR #52419 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-10-16 14:57:12 PDT
Note You need to log in before you can comment on or make changes to this bug.