Bug 292552

Summary: [css-anchor-position-1] Anchor positioning on pseudo elements does not work
Product: WebKit Reporter: Niklas Ljunglöf <slipped-gazette.0w>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: fantasai.bugs, kiet.ho, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 291856    
Attachments:
Description Flags
Test using `position-anchor` and `position-area` on an `::after` pseudo-element none

Niklas Ljunglöf
Reported 2025-05-05 09:26:01 PDT
Created attachment 475140 [details] Test using `position-anchor` and `position-area` on an `::after` pseudo-element Using anchor position properties or the `anchor()` function on pseudo elements has no effect. Tested in Safari TP 218. Works as expected in Chromium browsers.
Attachments
Test using `position-anchor` and `position-area` on an `::after` pseudo-element (605 bytes, text/html)
2025-05-05 09:26 PDT, Niklas Ljunglöf
no flags
Radar WebKit Bug Importer
Comment 1 2025-05-12 09:26:13 PDT
fantasai
Comment 2 2025-06-13 15:05:44 PDT
Kiet Ho
Comment 3 2025-06-13 16:34:41 PDT
Confirmed that this works in 296210@main.
Kiet Ho
Comment 4 2025-06-13 16:34:58 PDT
*** This bug has been marked as a duplicate of bug 293625 ***
Note You need to log in before you can comment on or make changes to this bug.