[webkit-changes] [WebKit/WebKit] cc674a: [IFC] It's very common to have a line spanning inl...
Alan Baradlay
noreply at github.com
Sun Jan 21 10:30:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cc674ae34fc66ec4274ec45d7e7462f3343fa0a5
https://github.com/WebKit/WebKit/commit/cc674ae34fc66ec4274ec45d7e7462f3343fa0a5
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-01-21 (Sun, 21 Jan 2024)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
Log Message:
-----------
[IFC] It's very common to have a line spanning inline box for the entire inline content
https://bugs.webkit.org/show_bug.cgi?id=267833
Reviewed by Simon Fraser.
Let's bail out early from finding line spanning inline boxes, when there's only one.
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::initialize):
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::initialize):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
Canonical link: https://commits.webkit.org/273274@main
More information about the webkit-changes
mailing list