Bug 303419

Summary: grid-lanes should place items immediately after previous, even if negative margins move it up
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: Layout and RenderingAssignee: fantasai <fantasai.bugs>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, brandonstewart, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

fantasai
Reported 2025-12-02 14:06:28 PST
We are currently updating the running position to the max of the current running position and the end of the newly placed item, but if the margin is sufficiently negative then this gives the wrong result. We should just take the end of the newly placed item as the new running position.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-02 14:06:41 PST
fantasai
Comment 2 2025-12-02 14:14:18 PST
EWS
Comment 3 2025-12-02 23:50:36 PST
Committed 303813@main (74f3bc40b449): <https://commits.webkit.org/303813@main> Reviewed commits have been landed. Closing PR #54721 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.