Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0b2a814592abd66fdc6c5b8f221e1b0440865ed1
https://github.com/WebKit/WebKit/commit/0b2a814592abd66fdc6c5b8f221e1b0440865ed1
Author: Alan Baradlay <[email protected]>
Date: 2022-12-11 (Sun, 11 Dec 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[IFC][line-clamp][Debug] Fix fast/overflow/line-clamp-crash.html
https://bugs.webkit.org/show_bug.cgi?id=249110
Reviewed by Cameron McCormack.
Do not try to truncate the line when the inline level boxes produce no content
even
if line-clamp value applies.
e.g.
<div line-clamp: 1>
<div>
<span><span><span> </span></span></span>
</div>
<div>
This line should be truncated.
</div>
</div>
(first IFC produces zero line with content)
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::close):
Canonical link: https://commits.webkit.org/257712@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes