Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 46305fbc304a756c871c9af3251f3eb57c797b91
https://github.com/WebKit/WebKit/commit/46305fbc304a756c871c9af3251f3eb57c797b91
Author: Alan Baradlay <[email protected]>
Date: 2025-12-06 (Sat, 06 Dec 2025)
Changed paths:
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h
M Source/WebCore/rendering/TextBoxTrimmer.cpp
Log Message:
-----------
TextBoxTrimmer needs to know if block container has inline or block line
https://bugs.webkit.org/show_bug.cgi?id=303688
Reviewed by Antti Koivisto.
This is preparation for restoring RenderBlockFlow::hasLines where it returns
true for
inline lines only (see webkt.org/b/303651).
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::hasContentfulInlineOrBlockLine const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::hasContentfulInlineOrBlockLine const):
* Source/WebCore/rendering/RenderBlockFlow.h:
* Source/WebCore/rendering/TextBoxTrimmer.cpp:
(WebCore::firstFormattedLineRoot):
(WebCore::lastFormattedLineRoot):
Canonical link: https://commits.webkit.org/304060@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications