Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 65f2475d5071de1d4f17ef54db871e8d334c3165
https://github.com/WebKit/WebKit/commit/65f2475d5071de1d4f17ef54db871e8d334c3165
Author: Alan Baradlay <[email protected]>
Date: 2025-06-02 (Mon, 02 Jun 2025)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
M Source/WebCore/rendering/RenderBlock.cpp
M Source/WebCore/rendering/RenderBlock.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h
M Source/WebCore/rendering/RenderBox.h
M Source/WebCore/rendering/RenderObject.h
M Source/WebCore/rendering/RenderReplaced.cpp
Log Message:
-----------
[Cleanup] Move hasIntrinsicAspectRatio from RenderObject to RenderBox
https://bugs.webkit.org/show_bug.cgi?id=293880
Reviewed by Antti Koivisto.
intrinsic-ratio does not apply to inline boxes or text content.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForFlexLayoutWithReason):
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::dirtyForLayoutFromPercentageHeightDescendants): Deleted.
-> moved to RenderBlockFlow.
* Source/WebCore/rendering/RenderBlock.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::dirtyForLayoutFromPercentageHeightDescendants):
(WebCore::RenderBlockFlow::shiftForAlignContent):
* Source/WebCore/rendering/RenderBlockFlow.h:
* Source/WebCore/rendering/RenderBox.h:
(WebCore::RenderBox::hasIntrinsicAspectRatio const):
* Source/WebCore/rendering/RenderObject.h:
(WebCore::RenderObject::hasIntrinsicAspectRatio const): Deleted.
* Source/WebCore/rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::paint):
Canonical link: https://commits.webkit.org/295683@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