WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
295006
[css-anchor-position-1] Anchored box detaches from anchor when scrolled partially out of view
https://bugs.webkit.org/show_bug.cgi?id=295006
Summary
[css-anchor-position-1] Anchored box detaches from anchor when scrolled parti...
fantasai
Reported
2025-06-25 19:23:33 PDT
Overview: If the anchor for an anchored box is partially scrolled out of view in the same axis as the attachment, the anchored box visually detaches from it because it is attached to the theoretical edge of the box rather than the visible edge of the box. This looks weird. You can see the effect in this testcase (though the testcase isn't testing for it):
http://wpt.live/css/css-anchor-position/anchor-scroll-position-try-001.html
Missing Tests: * Need a test for this behavior. Specification Notes: * The spec should clarify what's expected to happen here, which afaict is that `overflow` should effectively clamp the anchor rectangle.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-06-25 19:24:09 PDT
<
rdar://problem/154350487
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug