[webkit-changes] [WebKit/WebKit] 425ee8: [LFC][IFC] InlineFormattingGeometry::floatConstrai...
Alan Baradlay
noreply at github.com
Wed Oct 12 21:13:02 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 425ee896fb23914bb1f44c7c19f4c25ded05bb35
https://github.com/WebKit/WebKit/commit/425ee896fb23914bb1f44c7c19f4c25ded05bb35
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
Log Message:
-----------
[LFC][IFC] InlineFormattingGeometry::floatConstraintsForLine should return FloatingContext::Constraints
https://bugs.webkit.org/show_bug.cgi?id=246387
Reviewed by Antti Koivisto.
FloatingContext::Constraints is a better type to hold on to constraint values. This is also in preparation for fixing content placement when intrusive floats are stacked vertically within a line.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp:
(WebCore::Layout::InlineFormattingGeometry::floatConstraintsForLine const):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::floatConstraints const):
(WebCore::Layout::LineBuilder::initialConstraintsForLine const):
(WebCore::Layout::LineBuilder::lineRectForCandidateInlineContent const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
Canonical link: https://commits.webkit.org/255467@main
More information about the webkit-changes
mailing list