Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LFC][IFC] Figure out the logicalTopForNextLine without passing in th…
…e initial line rect https://bugs.webkit.org/show_bug.cgi?id=246416 Reviewed by Antti Koivisto. This is in preparation for using 0px as the initial line height to find correct vertical position for inline content when float boxes are vertically stacked within the line. This patch preserves the current behavior where we move the line down by the computed line height to probe for floats. * Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp: (WebCore::Layout::InlineFormattingContext::lineLayout): * Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp: (WebCore::Layout::InlineFormattingGeometry::logicalTopForNextLine const): * Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h: Canonical link: https://commits.webkit.org/255479@main
- Loading branch information
1 parent
c73a0fb
commit 05aed3a
Showing
3 changed files
with
11 additions
and
7 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