Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13a91dc3245c863df9903f0ef5b96393b178c971
      
https://github.com/WebKit/WebKit/commit/13a91dc3245c863df9903f0ef5b96393b178c971
  Author: Sammy Gill <[email protected]>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp

  Log Message:
  -----------
  [GFC][Integration] Use insertFill when determining number of explicitly 
placed items in row
https://bugs.webkit.org/show_bug.cgi?id=307831
rdar://170336669

Reviewed by Vitor Roriz.

When determining GFC eligibility, we use explicitlyPlacedItemsInRowCount
to keep track of the number of items that are explicitly placed in a
given column. Since we do this as we iterate over the grid items, we may
need to increase the number of rows in this list. However, since we use
Vector::resize and we store size_t values inside, it is not guaranteed
that these values are 0. As a result, when we look at these values to
determine if the number of items is larger than the number of columns,
we may get different value for the same piece of content. We can fix
this by using insertFill instead whenever we need to increase the number
of rows.

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



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

Reply via email to