Bug 283760

Summary: Look previous block container siblings for overhanging floats
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, karlcow, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
[fast-cq]Patch none

Ahmad Saleem
Reported 2024-11-27 07:32:03 PST
Hi Team, While looking into Blink's test cases failing in Safari, I stumbled upon this: Test Case (1) [avoid-floats-when-negative-margin-top-7.html] - https://jsfiddle.net/6df71uek/ ^ fails on WebKit ToT as well but passes in Chrome Canary 133 and Firefox Nightly 135. Test Case (1) [avoid-floats-when-negative-margin-top-8.html] - https://jsfiddle.net/fqz5au2j/ ^ fails on WebKit ToT as well but passes in Chrome Canary 133 and Firefox Nightly 135. Blink Commit - https://source.chromium.org/chromium/chromium/src/+/5050aa20edf169134ee08a90c635e1b087509817 It requires some other PR as pre-requisite, so just raising for time being. Thanks!
Attachments
Patch (8.19 KB, patch)
2024-11-29 20:16 PST, alan
no flags
[fast-cq]Patch (8.18 KB, patch)
2024-11-30 09:40 PST, alan
no flags
alan
Comment 1 2024-11-29 20:16:43 PST
alan
Comment 2 2024-11-30 09:40:00 PST
Created attachment 473402 [details] [fast-cq]Patch
EWS
Comment 3 2024-11-30 11:00:13 PST
Committed 287180@main (e33ce5a6df0e): <https://commits.webkit.org/287180@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 473402 [details].
Radar WebKit Bug Importer
Comment 4 2024-11-30 11:01:16 PST
Note You need to log in before you can comment on or make changes to this bug.