[webkit-changes] [WebKit/WebKit] def9a2: width: fit-content is not wrapped and has its over...
Alan Baradlay
noreply at github.com
Mon Oct 28 05:31:04 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: def9a2aa335edae9106426bafea1ba1710e8e199
https://github.com/WebKit/WebKit/commit/def9a2aa335edae9106426bafea1ba1710e8e199
Author: Alan Baradlay <zalan at apple.com>
Date: 2024-10-28 (Mon, 28 Oct 2024)
Changed paths:
A LayoutTests/fast/block/fit-content-width-with-out-of-flow-box-expected.html
A LayoutTests/fast/block/fit-content-width-with-out-of-flow-box.html
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
width: fit-content is not wrapped and has its overflowing content hidden. (affects popover usability)
https://bugs.webkit.org/show_bug.cgi?id=279510
<rdar://problem/136219979>
Reviewed by Antti Koivisto.
Find out the actual available size for fit-content computation when the positing of
the box affects how much space there is for the box (out-of-flow boxes).
* LayoutTests/fast/block/fit-content-width-with-out-of-flow-box-expected.html: Added.
* LayoutTests/fast/block/fit-content-width-with-out-of-flow-box.html: Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidthUsing const):
Canonical link: https://commits.webkit.org/285762@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list