Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d5763f48c08586b2096617f07323d7edc34aef44
https://github.com/WebKit/WebKit/commit/d5763f48c08586b2096617f07323d7edc34aef44
Author: Alan Baradlay <[email protected]>
Date: 2026-05-29 (Fri, 29 May 2026)
Changed paths:
M Source/WebCore/rendering/AutoTableLayout.cpp
M Source/WebCore/rendering/AutoTableLayout.h
M Source/WebCore/rendering/FixedTableLayout.cpp
M Source/WebCore/rendering/FixedTableLayout.h
M Source/WebCore/rendering/RenderTable.cpp
M Source/WebCore/rendering/RenderText.cpp
M Source/WebCore/rendering/RenderText.h
M Source/WebCore/rendering/TableLayout.h
Log Message:
-----------
[cleanup] Rename applyPreferredLogicalWidthQuirks,
resetTableCellPreferredLogicalWidths, RenderText::computePreferredLogicalWidths
to use Content/Intrinsic terminology
https://bugs.webkit.org/show_bug.cgi?id=315706
Reviewed by Antti Koivisto.
The remaining table-specific and RenderText "preferred" names referred to
the same min/max-content concept that the rest of the cache machinery
already uses. Align them.
applyPreferredLogicalWidthQuirks (TableLayout virtual) clamps the cached
min/max content widths after computeIntrinsicLogicalWidths runs, so it
becomes applyContentLogicalWidthQuirks. The local lambda
resetTableCellPreferredLogicalWidths in RenderTable now only invalidates
each cell's content widths, so it becomes
invalidateAllTableCellsContentLogicalWidths. RenderText's
computePreferredLogicalWidths populates m_minWidth / m_maxWidth from the
text content (the min-content / max-content of the text), so it becomes
computeMinMaxIntrinsicLogicalWidths.
* Source/WebCore/rendering/AutoTableLayout.cpp:
* Source/WebCore/rendering/AutoTableLayout.h:
* Source/WebCore/rendering/FixedTableLayout.cpp:
* Source/WebCore/rendering/FixedTableLayout.h:
* Source/WebCore/rendering/RenderTable.cpp:
* Source/WebCore/rendering/RenderText.cpp:
* Source/WebCore/rendering/RenderText.h:
* Source/WebCore/rendering/TableLayout.h:
Canonical link: https://commits.webkit.org/314132@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications