WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
306830
[css-anchor-position-1] Interpret position-try-order logical axis using the containing block's writing mode
https://bugs.webkit.org/show_bug.cgi?id=306830
Summary
[css-anchor-position-1] Interpret position-try-order logical axis using the c...
fantasai
Reported
2026-02-02 20:25:29 PST
Currently we use the box's own writing mode to resolve position-try-order values, but the spec was updated to use the containing block writing mode. See
https://github.com/w3c/csswg-drafts/issues/12869#issuecomment-3406959070
and
https://wpt.live/css/css-anchor-position/position-try-order-logical.html
The relevant code lives in TreeResolver::sortPositionOptionsIfNeeded() ; should be an easy fix.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-02 20:34:26 PST
<
rdar://problem/169501069
>
Kiet Ho
Comment 2
2026-03-27 23:33:06 PDT
Note that there are actually two parts to this: position-try-options and position-try-fallbacks both got switched to use the containing block's writing mode.
Kiet Ho
Comment 3
2026-03-28 00:07:37 PDT
[css-anchor-position-1] position-try-fallbacks tactic keywords should be resolved against the containing block's writing mode
https://bugs.webkit.org/show_bug.cgi?id=310959
Kiet Ho
Comment 4
2026-03-28 00:35:17 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61558
EWS
Comment 5
2026-03-30 19:42:34 PDT
Committed
310277@main
(121963fe3074): <
https://commits.webkit.org/310277@main
> Reviewed commits have been landed. Closing PR #61558 and removing active labels.
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