[webkit-changes] [WebKit/WebKit] 1e816c: [IFC] InlineDisplayLineBuilder::collectEnclosingLi...
Alan Baradlay
noreply at github.com
Wed Feb 1 12:32:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1e816c14834691a91afd65ec26b54aaf029b98e1
https://github.com/WebKit/WebKit/commit/1e816c14834691a91afd65ec26b54aaf029b98e1
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M LayoutTests/platform/ios/fast/css/text-overflow-input-expected.txt
M LayoutTests/platform/ios/fast/forms/input-text-scroll-left-on-blur-expected.txt
M LayoutTests/platform/mac/fast/css/text-overflow-input-expected.txt
M LayoutTests/platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt
M LayoutTests/platform/mac/fast/forms/search-rtl-expected.txt
M Source/WebCore/layout/formattingContexts/inline/InlineRect.h
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp
Log Message:
-----------
[IFC] InlineDisplayLineBuilder::collectEnclosingLineGeometry should include root inline box in scrollable overflow
https://bugs.webkit.org/show_bug.cgi?id=251414
Reviewed by Antti Koivisto.
Display::Line should include all scrollable overflow that we can compute excluding the "padding end" hack in LegacyLineLayout::addOverflowFromInlineChildren.
* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::lineOverflowLogicalWidth): LegacyLineLayout::addOverflowFromInlineChildren ignores RTL content, so should IFC.
(WebCore::LayoutIntegration::InlineContentBuilder::createDisplayLines const):
Canonical link: https://commits.webkit.org/259708@main
More information about the webkit-changes
mailing list