Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9416ebab754177b6c3d38ddf70fb2877968f550
      
https://github.com/WebKit/WebKit/commit/b9416ebab754177b6c3d38ddf70fb2877968f550
  Author: Yulun Wu <[email protected]>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp
    M Source/WebCore/layout/formattingContexts/grid/GridLayout.h

  Log Message:
  -----------
  [GFC] Extract sizeColumnTracks helper from performGridSizingAlgorithm
https://bugs.webkit.org/show_bug.cgi?id=315405
<rdar://177753728>

Reviewed by Sammy Gill.

We should extract the column-sizing logic out of performGridSizingAlgorithm into
a reusable sizeColumnTracks helper to prepare for a perf optimization.

This will let us perform intrinsic-width computation without running row
sizing and item layout. No behavior change.

* Source/WebCore/layout/formattingContexts/grid/GridLayout.cpp:
(WebCore::Layout::GridLayout::sizeColumnTracks const):
(WebCore::Layout::GridLayout::performGridSizingAlgorithm const):
* Source/WebCore/layout/formattingContexts/grid/GridLayout.h:

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



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

Reply via email to