Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2302481aabb3978e5cdaf79ff5b169c814ad3e92 https://github.com/WebKit/WebKit/commit/2302481aabb3978e5cdaf79ff5b169c814ad3e92 Author: Alan Baradlay <za...@apple.com> Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths: A LayoutTests/fast/block/zero-width-block-with-line-clamp-multiple-lines-expected.html A LayoutTests/fast/block/zero-width-block-with-line-clamp-multiple-lines.html M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp Log Message: ----------- [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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes