Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2b73cf2c0e08317da4cd9a4cc7343842202f41a1
https://github.com/WebKit/WebKit/commit/2b73cf2c0e08317da4cd9a4cc7343842202f41a1
Author: Alan Baradlay <[email protected]>
Date: 2025-11-23 (Sun, 23 Nov 2025)
Changed paths:
M LayoutTests/fast/inline/blocks-in-inline-layout-3-expected.html
M LayoutTests/fast/inline/blocks-in-inline-layout-3.html
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h
M Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h
Log Message:
-----------
[blocks-in-inline] Add spanning inline boxes on block lines
https://bugs.webkit.org/show_bug.cgi?id=303008
Reviewed by Antti Koivisto.
This makes block "lines" consistent with regular inline lines where spanning
inline boxes are added to each line in-between (ignoring decoration cloned
geometry).
* LayoutTests/fast/inline/blocks-in-inline-layout-3-expected.html:
* LayoutTests/fast/inline/blocks-in-inline-layout-3.html: Currently spanning
inline box gets painted on block lines.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::InlineFormattingUtils::inlineContentEnding):
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendBlock):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::build):
(WebCore::Layout::LineBoxBuilder::constructBlockContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:
* Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h:
(WebCore::Layout::LineLayoutResult::inflowContentType const):
Canonical link: https://commits.webkit.org/303460@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications