Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 74f3bc40b44986c6a9146239c4a34f8ddd513f11
      
https://github.com/WebKit/WebKit/commit/74f3bc40b44986c6a9146239c4a34f8ddd513f11
  Author: Elika Etemad <[email protected]>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/GridMasonryLayout.cpp

  Log Message:
  -----------
  place item immediately after previous, even if negative margins moved it up
https://bugs.webkit.org/show_bug.cgi?id=303419
rdar://165718130

Reviewed by Brandon Stewart.

If the margin is sufficiently negative, then taking the max places the next item
too low. We should just take the end of the newly placed item as the new running
position.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/GridMasonryLayout.cpp:
(WebCore::GridMasonryLayout::updateRunningPositions):

Canonical link: https://commits.webkit.org/303813@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to