Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2db1d7c644330c2d354ec8a9b567f95238671103
https://github.com/WebKit/WebKit/commit/2db1d7c644330c2d354ec8a9b567f95238671103
Author: Elika Etemad <[email protected]>
Date: 2025-10-21 (Tue, 21 Oct 2025)
Changed paths:
M Source/WebCore/rendering/PositionedLayoutConstraints.cpp
M Source/WebCore/rendering/RenderBox.cpp
M Source/WebCore/rendering/RenderBox.h
M Source/WebCore/style/StyleExtractorCustom.h
Log Message:
-----------
Improve organization of containingBlockLogical*ForPositioned
https://bugs.webkit.org/show_bug.cgi?id=300956
rdar://162833177
Reviewed by Alan Baradlay.
Merges RenderBox::containingBlockLogicalWidthForPositioned() and
RenderBox::containingBlockLogicalHeightForPositioned() so that any differences
in logic between the two can be obvious. Takes the opportunity to organize their
internals better, too.
* Source/WebCore/rendering/PositionedLayoutConstraints.cpp:
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::containingBlockRangeForPositioned const):
(WebCore::RenderBox::containingBlockLogicalWidthForPositioned const): Deleted.
(WebCore::RenderBox::containingBlockLogicalHeightForPositioned const): Deleted.
* Source/WebCore/rendering/RenderBox.h:
* Source/WebCore/style/StyleExtractorCustom.h:
(WebCore::Style::extractZoomAdjustedInset):
Canonical link: https://commits.webkit.org/301900@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications