[webkit-changes] [WebKit/WebKit] b29a0b: [IFC][Partial layout] Overflowing content (Partial...
Alan Baradlay
noreply at github.com
Fri Feb 10 06:01:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b29a0b202a93ca4a32c1253fa79fdf6b18c8bdcf
https://github.com/WebKit/WebKit/commit/b29a0b202a93ca4a32c1253fa79fdf6b18c8bdcf
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
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
M Source/WebCore/layout/formattingContexts/inline/InlineLineTypes.h
Log Message:
-----------
[IFC][Partial layout] Overflowing content (PartialInlineItem) should use InlineItemPosition
https://bugs.webkit.org/show_bug.cgi?id=251973
Reviewed by Antti Koivisto.
Overflowing content is by definition a partial content, so let's use InlineItemPosition now that it has (partial) offset support.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::indexOfFirstInlineItemForNextLine):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::computedIntrinsicWidth):
(WebCore::Layout::LineBuilder::initialize):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
(WebCore::Layout::PartialContent::PartialContent): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineTypes.h:
(WebCore::Layout::PartialInlineItem::inlineItemIndex const):
(WebCore::Layout::PartialInlineItem::length const):
(WebCore::Layout::PartialInlineItem::PartialInlineItem):
Canonical link: https://commits.webkit.org/260108@main
More information about the webkit-changes
mailing list