Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b1a49315d4aacc8b9cc22f39afa145ee4bfc8a16
https://github.com/WebKit/WebKit/commit/b1a49315d4aacc8b9cc22f39afa145ee4bfc8a16
Author: Alan Baradlay <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes