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.
[line-clamp][IFC] Line with 0px constrain should still be considered …
…as a non-empty line if it has content https://bugs.webkit.org/show_bug.cgi?id=248882 Reviewed by Antti Koivisto. Just because lineLogicalRect is empty (width: 0px;) it does not necessarily mean it has no (overflowing) content. * LayoutTests/fast/block/zero-width-block-with-line-clamp-multiple-lines-expected.html: Added. * LayoutTests/fast/block/zero-width-block-with-line-clamp-multiple-lines.html: Added. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp: (WebCore::Layout::InlineFormattingContext::lineLayout): Canonical link: https://commits.webkit.org/257528@main
- Loading branch information
Showing 3 changed files with 19 additions and 1 deletion.