[webkit-changes] [WebKit/WebKit] b1a493: [IFC][Intrinsic width] Remove special float placem...
Alan Baradlay
noreply at github.com
Sat May 6 11:02:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b1a49315d4aacc8b9cc22f39afa145ee4bfc8a16
https://github.com/WebKit/WebKit/commit/b1a49315d4aacc8b9cc22f39afa145ee4bfc8a16
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-05-06 (Sat, 06 May 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
Log Message:
-----------
[IFC][Intrinsic width] Remove special float placement handling in intrinsic width mode
https://bugs.webkit.org/show_bug.cgi?id=256309
Reviewed by Antti Koivisto.
Floats should participate in preferred width computation just like in regular layout.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::computedIntrinsicWidthForConstraint const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::computedIntrinsicWidth):
(WebCore::Layout::LineBuilder::tryPlacingFloatBox):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
Canonical link: https://commits.webkit.org/263760@main
More information about the webkit-changes
mailing list