Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 121963fe307487a6d7d2cdb6a124f22c322a6e98
https://github.com/WebKit/WebKit/commit/121963fe307487a6d7d2cdb6a124f22c322a6e98
Author: Kiet Ho <[email protected]>
Date: 2026-03-30 (Mon, 30 Mar 2026)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/rendering/style/PositionTryOrder.cpp
M Source/WebCore/rendering/style/PositionTryOrder.h
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
[css-anchor-position-1] Interpret position-try-order logical axis using the
containing block's writing mode
rdar://169501069
https://bugs.webkit.org/show_bug.cgi?id=306830
Reviewed by Elika Etemad.
CSSWG resolves [1] that position-try-fallbacks tactic keywords and
position-try-order
should be interpreted using the containing block's writing mode. This patch
implements
this new behavior for position-try-order.
[1]: https://github.com/w3c/csswg-drafts/issues/12869#issuecomment-3406959070
Test:
imported/w3c/web-platform-tests/css/css-anchor-position/position-try-order-logical.html
* LayoutTests/TestExpectations:
* Source/WebCore/rendering/style/PositionTryOrder.cpp:
(WebCore::Style::selfAxisForPositionTryOrder):
(WebCore::Style::boxAxisForPositionTryOrder): Deleted.
* Source/WebCore/rendering/style/PositionTryOrder.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::sortPositionOptionsIfNeeded):
Canonical link: https://commits.webkit.org/310277@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications