-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IFC][Integration] Move inline content dimension update from RenderBl…
…ockFlow to LineLayout https://bugs.webkit.org/show_bug.cgi?id=246815 Reviewed by Antti Koivisto. This ensures that when preferred width computation and line layout are in synch with updating the layout boxes' dimensions. (Out of sync can lead to inconsistent state where line layout relies on certain structures (BoxGeometry) which are supposed to be constructed by whoever runs layout first (preferred width or actual line layout)). * Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp: (WebCore::LayoutIntegration::LineLayout::updateInlineContentDimensions): * Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h: * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::layoutModernLines): (WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath): Canonical link: https://commits.webkit.org/255800@main
- Loading branch information
1 parent
f7d70aa
commit 037ca44
Showing
3 changed files
with
49 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters