Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e61c762c241f53fe5a2edcfe050acb01bce1308
https://github.com/WebKit/WebKit/commit/8e61c762c241f53fe5a2edcfe050acb01bce1308
Author: Alan Baradlay <[email protected]>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
A LayoutTests/fast/flexbox/child-becomes-out-of-flow-crash-expected.txt
A LayoutTests/fast/flexbox/child-becomes-out-of-flow-crash.html
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
Cleanup flex container caches when child box is no longer a flex item
https://bugs.webkit.org/show_bug.cgi?id=285514
<rdar://142443738>
Reviewed by Antti Koivisto.
When an inflow flex container child (flex item) goes out-of-flow, it is no
longer a flex item
and it does not participate in flex layout anymore. Let's remove it from flex
layout caches.
* LayoutTests/fast/flexbox/child-becomes-out-of-flow-crash-expected.txt: Added.
* LayoutTests/fast/flexbox/child-becomes-out-of-flow-crash.html: Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::styleWillChange):
Canonical link: https://commits.webkit.org/288525@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes