Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fd6ce01093860ef27380994b3e78dd43a3d58e26
https://github.com/WebKit/WebKit/commit/fd6ce01093860ef27380994b3e78dd43a3d58e26
Author: Yulun Wu <[email protected]>
Date: 2025-05-16 (Fri, 16 May 2025)
Changed paths:
A
LayoutTests/fast/css3-text/css3-text-wrap/text-wrap-balance-word-spacing-expected.html
A
LayoutTests/fast/css3-text/css3-text-wrap/text-wrap-balance-word-spacing.html
M
Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp
Log Message:
-----------
[Text-Wrap][Balance][Pretty] SlidingWidth now includes word-spacing when
caching item widths.
https://bugs.webkit.org/show_bug.cgi?id=292563
<rdar://150893603>
Reviewed by Alan Baradlay.
This PR updates the inline width caches to account for word spacing when
computing
constrained widths.
Combined changes:
*
LayoutTests/fast/css3-text/css3-text-wrap/text-wrap-balance-word-spacing-expected.html:
Added.
*
LayoutTests/fast/css3-text/css3-text-wrap/text-wrap-balance-word-spacing.html:
Added.
* Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp:
(WebCore::Layout::InlineContentConstrainer::updateCachedWidths):
(WebCore::Layout::InlineContentConstrainer::computeParagraphLevelConstraints):
Canonical link: https://commits.webkit.org/295034@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