[webkit-changes] [WebKit/WebKit] a5081f: [IFC][Integration] Enable nested out-of-flow boxes...
Alan Baradlay
noreply at github.com
Tue Dec 13 11:13:57 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a5081fa2fab816c23739f4e0875295d66c682178
https://github.com/WebKit/WebKit/commit/a5081fa2fab816c23739f4e0875295d66c682178
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/platform/ios/fast/multicol/client-rects-expected.txt
M LayoutTests/platform/ios/fast/multicol/client-rects-spanners-complex-expected.txt
M LayoutTests/platform/ios/fast/multicol/client-rects-spanners-expected.txt
M LayoutTests/platform/mac/fast/multicol/client-rects-expected.txt
M LayoutTests/platform/mac/fast/multicol/client-rects-spanners-complex-expected.txt
M LayoutTests/platform/mac/fast/multicol/client-rects-spanners-expected.txt
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
Log Message:
-----------
[IFC][Integration] Enable nested out-of-flow boxes for IFC
https://bugs.webkit.org/show_bug.cgi?id=249165
Reviewed by Antti Koivisto.
LineLayout::containing should treat out-of-flow boxes as if they were statically positioned.
Out-of-flow boxes participate in IFCs as if they were in-flow content. When trying to find the associated LineLayout object, we need to apply the same logic
(i.e. find the containing block as if they were in-flow).
* LayoutTests/TestExpectations:
* LayoutTests/platform/ios/fast/multicol/client-rects-expected.txt:
* LayoutTests/platform/ios/fast/multicol/client-rects-spanners-complex-expected.txt:
* LayoutTests/platform/ios/fast/multicol/client-rects-spanners-expected.txt:
* LayoutTests/platform/mac/fast/multicol/client-rects-expected.txt:
* LayoutTests/platform/mac/fast/multicol/client-rects-spanners-complex-expected.txt:
* LayoutTests/platform/mac/fast/multicol/client-rects-spanners-expected.txt:
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForChild):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::containing):
Canonical link: https://commits.webkit.org/257802@main
More information about the webkit-changes
mailing list