WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295009
[css-anchor-position-1] Fallback options are not "sticky"
https://bugs.webkit.org/show_bug.cgi?id=295009
Summary
[css-anchor-position-1] Fallback options are not "sticky"
fantasai
Reported
2025-06-25 19:54:03 PDT
Overview: By default, the position-try fallbacks are "sticky", i.e. an option is used until it's invalidated either because a) it no longer fits b) there's a style recalculation that triggers re-evaluation of position-try options This behavior is intended to provide some visual stability for the user. Affected WPT Tests: *
http://wpt.live/css/css-anchor-position/last-successful-basic.html
*
http://wpt.live/css/css-anchor-position/last-successful-change-fallbacks.html
*
http://wpt.live/css/css-anchor-position/last-successful-change-try-rule.html
*
http://wpt.live/css/css-anchor-position/last-successful-iframe.html
*
http://wpt.live/css/css-anchor-position/last-successful-intermediate-ignored.html
Specification Notes: See
https://www.w3.org/TR/css-anchor-position/#fallback
It's possible that we might find places where the spec should be adjusted, since we are the second implementation and what makes sense to do here might not be entirely obvious. In these cases we should implement what makes sense to us and bring the issue to the CSSWG for discussion.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-06-25 19:54:29 PDT
<
rdar://problem/154352444
>
Kiet Ho
Comment 2
2025-08-06 17:27:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/49037
EWS
Comment 3
2025-08-14 17:13:54 PDT
Committed
298718@main
(87540245e449): <
https://commits.webkit.org/298718@main
> Reviewed commits have been landed. Closing PR #49037 and removing active labels.
Kiet Ho
Comment 4
2025-08-14 18:32:02 PDT
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/54345
Kiet Ho
Comment 5
2025-08-16 02:29:44 PDT
<
rdar://problem/158452223
>
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