Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aac4aed489d110e69808bf5b2a885f23e9a35fe4
https://github.com/WebKit/WebKit/commit/aac4aed489d110e69808bf5b2a885f23e9a35fe4
Author: Kiet Ho <[email protected]>
Date: 2026-04-24 (Fri, 24 Apr 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-position-try-016-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-position-try-016.html
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
REGRESSION (307593@main): fixed-positioned box that uses position-area does
not fallback properly when body is scrollable
rdar://175203020
https://bugs.webkit.org/show_bug.cgi?id=312831
Reviewed by Elika Etemad.
Fixed-positioned elements that use position-area should still use the viewport
as its containing block, not its scrollable containing block.
Test:
imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-position-try-016.html
*
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-position-try-016-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-scroll-position-try-016.html:
Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::containingBlockRangeForPositioned const):
Canonical link: https://commits.webkit.org/311981@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications