Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 427df6a3a1de6387a6c3c48168c6aa36a0f0cd68
https://github.com/WebKit/WebKit/commit/427df6a3a1de6387a6c3c48168c6aa36a0f0cd68
Author: Alan Baradlay <[email protected]>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/table/TableFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/table/TableFormattingContext.h
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h
M Source/WebCore/rendering/RenderReplaced.cpp
Log Message:
-----------
[cleanup] Rename intrinsic width computation helpers from Preferred* to
Intrinsic*
https://bugs.webkit.org/show_bug.cgi?id=315711
Reviewed by Antti Koivisto.
Helpers around the intrinsic-width computation path were named with
"Preferred", referring to the cache that's now called m_min/maxContent-
LogicalWidth. Align the helpers' names with the spec terminology used
elsewhere.
* Source/WebCore/layout/formattingContexts/table/TableFormattingContext.cpp:
(WebCore::Layout::TableFormattingContext::computedIntrinsicWidthConstraints):
(WebCore::Layout::TableFormattingContext::computedIntrinsicWidthForColumns):
(WebCore::Layout::TableFormattingContext::computedPreferredWidthForColumns):
Deleted.
* Source/WebCore/layout/formattingContexts/table/TableFormattingContext.h:
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForIntrinsicWidthComputation):
(WebCore::LayoutIntegration::canUseForPreferredWidthComputation): Deleted.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::canUseForIntrinsicWidthComputation):
(WebCore::LayoutIntegration::LineLayout::canUseForPreferredWidthComputation):
Deleted.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::formattingContextRootIntrinsicLogicalWidthsDependOnOwnHeight):
(WebCore::RenderBlockFlow::dirtyForLayoutFromPercentageHeightDescendant):
(WebCore::RenderBlockFlow::markInlineContentDirtyForLayout):
(WebCore::RenderBlockFlow::computeInlineIntrinsicLogicalWidths const):
(WebCore::RenderBlockFlow::tryComputeIntrinsicLogicalWidthsUsingInlinePath):
(WebCore::formattingContextRootPreferredWidthsDependOnOwnHeight): Deleted.
(WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingInlinePath): Deleted.
* Source/WebCore/rendering/RenderBlockFlow.h:
* Source/WebCore/rendering/RenderReplaced.cpp:
(WebCore::canDeriveIntrinsicWidthFromAspectRatio):
(WebCore::RenderReplaced::computeIntrinsicLogicalWidthContributions):
(WebCore::canDerivePreferredWidthFromAspectRatio): Deleted.
Canonical link: https://commits.webkit.org/314185@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications