[webkit-changes] [WebKit/WebKit] ddf9ee: Add Masonry support in autoPlacementAxisDirection

Brandon Stewart noreply at github.com
Wed Dec 14 11:50:30 PST 2022


  Branch: refs/heads/eng/masonry_auto_placement_direction
  Home:   https://github.com/WebKit/WebKit
  Commit: ddf9eeea33c5d0bd7d167b2eb93fa76eb00d0305
      https://github.com/WebKit/WebKit/commit/ddf9eeea33c5d0bd7d167b2eb93fa76eb00d0305
  Author: Brandon Stewart <brandonstewart at apple.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

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

  Log Message:
  -----------
  Add Masonry support in autoPlacementAxisDirection
https://bugs.webkit.org/show_bug.cgi?id=249326

Reviewed by NOBODY (OOPS!).

While working on track-sizing I noticed that align-content/masonry-align-content-003.html
was only being rendered on a single column instead of being spread across multiple
columns.

This patch adds a check in autoPlacementMajor/MinorAxisDirection for Masonry.
No new test in this patch.

* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::autoPlacementMajorAxisDirection const):
(WebCore::RenderGrid::autoPlacementMinorAxisDirection const):




More information about the webkit-changes mailing list