Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e0c8bea7ef2965e12ab253de7e8d9c8cb8f6d427
https://github.com/WebKit/WebKit/commit/e0c8bea7ef2965e12ab253de7e8d9c8cb8f6d427
Author: Alan Baradlay <[email protected]>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h
M
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
M
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h
Log Message:
-----------
[cleanup] Add a helper function to returns the trailing line index with block
level element
https://bugs.webkit.org/show_bug.cgi?id=303054
Reviewed by Antti Koivisto.
1. Add InlineDisplayLineBuilder::trailingLineWithBlockLevelBox
2. Ensure that block after side of margin is processed even on empty/cached
content.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::handleAfterSideMargin):
(WebCore::Layout::InlineFormattingContext::lineLayout):
(WebCore::Layout::InlineFormattingContext::createDisplayContentForEmptyInlineContent):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:
*
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::InlineDisplayLineBuilder::trailingLineWithBlockLevelBox):
(WebCore::Layout::InlineDisplayLineBuilder::adjustLineBlockAfterSideWithCollapsedMargin):
*
Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h:
Canonical link: https://commits.webkit.org/303509@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications