[webkit-changes] [WebKit/WebKit] 506eeb: [IFC] Add Line::Run::isContentfulOrHasDecoration
Alan Baradlay
noreply at github.com
Tue Aug 29 07:05:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 506eebf66fe61f22a66873261267e3833f5c2b43
https://github.com/WebKit/WebKit/commit/506eebf66fe61f22a66873261267e3833f5c2b43
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-08-29 (Tue, 29 Aug 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
Log Message:
-----------
[IFC] Add Line::Run::isContentfulOrHasDecoration
https://bugs.webkit.org/show_bug.cgi?id=260809
Reviewed by Antti Koivisto.
This is in preparation for static position out-of-flow box computation where the
static (logical) vertical position depends on whether the out-of-flow box has a previous
sibling with content and/or decoration.
(This also addresses the box-decoration case for spanning line boxes.)
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::lineHasVisuallyNonEmptyContent const):
(WebCore::Layout::Line::Run::isContentfulOrHasDecoration):
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
Canonical link: https://commits.webkit.org/267401@main
More information about the webkit-changes
mailing list