Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0dda259ba8746fe53680692267cdcc554c562887
https://github.com/WebKit/WebKit/commit/0dda259ba8746fe53680692267cdcc554c562887
Author: Antti Koivisto <[email protected]>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/style/AnchorPositionEvaluator.cpp
M Source/WebCore/style/AnchorPositionEvaluator.h
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
[css-anchor-position-1] position-visibility: no-overflow should also work for
non-anchor positioned out-of-flow boxes
https://bugs.webkit.org/show_bug.cgi?id=297454
rdar://158393916
Reviewed by Alan Baradlay.
* LayoutTests/TestExpectations:
* Source/WebCore/style/AnchorPositionEvaluator.cpp:
(WebCore::Style::AnchorPositionEvaluator::updateAnchorPositionedStateForDefaultAnchorAndPositionVisibility):
Ensure we create the transient AnchorPositionedState also for non-anchor
positioned out-of-flow boxes with
position-visibility: no-overflow. They require layout interleaving to resolve,
similar to boxes with actual anchors.
(WebCore::Style::AnchorPositionEvaluator::updateAnchorPositionedStateForDefaultAnchor):
Deleted.
* Source/WebCore/style/AnchorPositionEvaluator.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::updateAnchorPositioningState):
Canonical link: https://commits.webkit.org/298750@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes