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] Do not generate text runs for empty text content
https://bugs.webkit.org/show_bug.cgi?id=244071 Reviewed by Antti Koivisto. Empty text inline items (initiated by "" generated content) is supposed to be all collapsed. This fixes certain alignment issues where an empty inline-block box now behaves like one and its baseline is computed accordingly (wpt/css/css-content/attr-case-sensitivity-002.html and /css/css-inline/empty-text-node-001.html). * LayoutTests/fast/css/empty-generated-content-expected.txt: * LayoutTests/platform/mac/fast/text/capitalize-empty-generated-string-expected.txt: * Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp: (WebCore::Layout::Line::appendTextContent): Canonical link: https://commits.webkit.org/253569@main
- Loading branch information
1 parent
232e9ce
commit 85e031dc15b29db800bff87451782df542bca724
Showing
6 changed files
with
35 additions
and
65 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
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
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