Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a8503ad8259ef02d34a3e2f73bb36189675ad4b4
https://github.com/WebKit/WebKit/commit/a8503ad8259ef02d34a3e2f73bb36189675ad4b4
Author: Alan Baradlay <[email protected]>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M LayoutTests/fast/inline/pagination-and-css-line-clamp-crash-expected.txt
M Source/WebCore/rendering/LineClampUpdater.h
Log Message:
-----------
[line-clamp] line-clamp on a multicol container clamps its lines
https://bugs.webkit.org/show_bug.cgi?id=325508
<rdar://problem/188595965>
Reviewed by Antti Koivisto.
<div style="line-clamp: 2; columns: 3">Line 1<br>Line 2<br>Line 3</div>
All three lines should show: on a multicol container continue: collapse behaves
the same as continue: auto,
so line-clamp does nothing there. Now a multicol container does not become a
line-clamp root.
https://drafts.csswg.org/css-overflow-4/#continue
* LayoutTests/fast/inline/pagination-and-css-line-clamp-crash-expected.txt: The
text in the multicol container is not clamped anymore.
* Source/WebCore/rendering/LineClampUpdater.h:
(WebCore::LineClampUpdater::LineClampUpdater):
Canonical link: https://commits.webkit.org/322584@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications