[webkit-changes] [WebKit/WebKit] 162dd2: [LFC][IFC] FloatingState should only be unavailabl...
alan
noreply at github.com
Sun Sep 4 11:02:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 162dd20dfaf753d64ed1b4edb3e593acc82247fb
https://github.com/WebKit/WebKit/commit/162dd20dfaf753d64ed1b4edb3e593acc82247fb
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-04 (Sun, 04 Sep 2022)
Changed paths:
M Source/WebCore/layout/floats/FloatingState.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[LFC][IFC] FloatingState should only be unavailable while computing intrinsic sizes
https://bugs.webkit.org/show_bug.cgi?id=244749
Reviewed by Antti Koivisto.
Check against isInIntrinsicWidthMode() instead of the seeming random null_ptr FloatingState.
* Source/WebCore/layout/floats/FloatingState.h:
(WebCore::Layout::FloatingState::isEmpty const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::floatConstraints const):
(WebCore::Layout::LineBuilder::lineRectForCandidateInlineContent const):
(WebCore::Layout::LineBuilder::handleFloatContent):
Canonical link: https://commits.webkit.org/254146@main
More information about the webkit-changes
mailing list