Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7b4f87a05484315326f8da61f3d1a22b9c7415e2
https://github.com/WebKit/WebKit/commit/7b4f87a05484315326f8da61f3d1a22b9c7415e2
Author: Ahmad Saleem <[email protected]>
Date: 2024-11-30 (Sat, 30 Nov 2024)
Changed paths:
A
LayoutTests/fast/block/float/block-with-negative-margin-clears-float-expected.txt
A LayoutTests/fast/block/float/block-with-negative-margin-clears-float.html
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
Clear floats even when they are not tracked by a previous sibling
https://bugs.webkit.org/show_bug.cgi?id=283858
rdar://140733421
Reviewed by Alan Baradlay.
Merge:
https://source.chromium.org/chromium/chromium/src/+/24bc38bac8c8f2ca1ee61b8872829fcdde521fa3
This patch fixes up case where the margin collapsing has moved us up to past
the top
a previous sibling than we need to check for floats from the parent too and
clear floats.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::rebuildFloatingObjectSetFromIntrudingFloats):
* LayoutTests/fast/block/float/block-with-negative-margin-clears-float.html:
Add Test Case
*
LayoutTests/fast/block/float/block-with-negative-margin-clears-float-expected.txt:
Add Test Case Expectation
Canonical link: https://commits.webkit.org/287185@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