Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cad87d87fcb003f5e403fd7edd1eccf5a9aa36ad
https://github.com/WebKit/WebKit/commit/cad87d87fcb003f5e403fd7edd1eccf5a9aa36ad
Author: Alan Baradlay <[email protected]>
Date: 2026-01-07 (Wed, 07 Jan 2026)
Changed paths:
A
LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left-expected.html
A
LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html
M Source/WebCore/rendering/PositionedLayoutConstraints.h
M Source/WebCore/rendering/RenderBlock.cpp
Log Message:
-----------
Cannot rely on auto-positioned absolutely positioned descendants being marked
for layout
https://bugs.webkit.org/show_bug.cgi?id=276350
<rdar://problem/131806062>
Reviewed by Antti Koivisto.
This is a relatively inexpensive way to determine whether a statically
positioned (in the inline direction) out-of-flow box needs its position
adjusted due to parent border box move (e.g. margin changes).
(ideally, the parent would signal to this out-of-flow box that a positional
adjustment is required, which would then be picked up here during the
out-of-flow box's layout)
Test:
fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html
*
LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left-expected.html:
Added.
*
LayoutTests/fast/block/positioning/abspos-auto-left-fixed-top-change-parent-margin-left.html:
Added.
* Source/WebCore/rendering/PositionedLayoutConstraints.h:
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutOutOfFlowBox):
Canonical link: https://commits.webkit.org/305229@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications