[webkit-changes] [WebKit/WebKit] 605d17: Address Masonry First Load Image Failures

Brandon Stewart noreply at github.com
Tue Feb 7 13:16:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 605d174ea587fb7635afe58f0fbb0f79ee3df6b6
      https://github.com/WebKit/WebKit/commit/605d174ea587fb7635afe58f0fbb0f79ee3df6b6
  Author: Brandon Stewart <brandonstewart at apple.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

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

  Log Message:
  -----------
  Address Masonry First Load Image Failures
https://bugs.webkit.org/show_bug.cgi?id=251733

Reviewed by Matt Woodrow.

Masonry has been having some interesting behavior with pure images
due to heights often being incorrectly rendered as 0px. This patch
fixes the first load problem. This seems to be connected to not properly
populating grid positions.

* Source/WebCore/rendering/GridMasonryLayout.cpp:
(WebCore::GridMasonryLayout::performMasonryPlacement):

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




More information about the webkit-changes mailing list