Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[LFC][IFC] text-overflow: ellipsis changes the text content to renderer
https://bugs.webkit.org/show_bug.cgi?id=244130 Reviewed by Antti Koivisto. When truncating the text box for overflow: ellipsis, we need to adjust the "rendered" content as well as the size of the text box to make room for the trailing ellipsis box. * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayBox.h: (WebCore::InlineDisplay::Box::truncate): * Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp: (WebCore::Layout::InlineDisplayContentBuilder::processOverflownRunsForEllipsis): Canonical link: https://commits.webkit.org/253607@main
- Loading branch information
1 parent
6ca6aad
commit cdc3e0787e7e05dbf5adc8285e5ecbf46a7f4ec0
Showing
2 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters