[webkit-changes] [WebKit/WebKit] cf847c: [IFC][Line clamp] Introduce LineBuilder::LineInput
Alan Baradlay
noreply at github.com
Sun Nov 20 07:29:21 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cf847c9227a41c2799452965fb35457c9434b6a4
https://github.com/WebKit/WebKit/commit/cf847c9227a41c2799452965fb35457c9434b6a4
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-11-20 (Sun, 20 Nov 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
Log Message:
-----------
[IFC][Line clamp] Introduce LineBuilder::LineInput
https://bugs.webkit.org/show_bug.cgi?id=248109
Reviewed by Antti Koivisto.
This is in preparation for supporting -webkit-line-clamp where we need to
pass in whether the current line needs "forced" overflow truncation.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
Canonical link: https://commits.webkit.org/256887@main
More information about the webkit-changes
mailing list