[webkit-changes] [WebKit/WebKit] fc54f3: Top scoreboard of espn.com cutting off team names
Alan Baradlay
noreply at github.com
Wed Oct 26 19:58:58 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc54f33c5cd4938946ca475cb0d05aa3e0f3d0e6
https://github.com/WebKit/WebKit/commit/fc54f33c5cd4938946ca475cb0d05aa3e0f3d0e6
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
A LayoutTests/fast/block/shrink-to-fit-with-trailing-whitespace-and-ellipsis-expected.html
A LayoutTests/fast/block/shrink-to-fit-with-trailing-whitespace-and-ellipsis.html
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
Top scoreboard of espn.com cutting off team names
https://bugs.webkit.org/show_bug.cgi?id=247081
<rdar://101519984>
Reviewed by Antti Koivisto.
Check for overflow content _after_ trimming trailing content.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::close): move trimming code to a lambda to make sure we don't reuse lineHasOverflow (as it may have a different value before/after trimming).
Canonical link: https://commits.webkit.org/256045@main
More information about the webkit-changes
mailing list