Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b96b602c32609b0e80fa3db7793fadf663d7c4d5
      
https://github.com/WebKit/WebKit/commit/b96b602c32609b0e80fa3db7793fadf663d7c4d5
  Author: Sammy Gill <[email protected]>
  Date:   2026-05-11 (Mon, 11 May 2026)

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

  Log Message:
  -----------
  [GFC] Implement stubs for determining if a grid item's computed overflow is a 
scrollable value .
https://bugs.webkit.org/show_bug.cgi?id=314559
rdar://problem/176799526

Reviewed by Alan Baradlay.

In order to determine if we are going to apply the "automatic minimum
size," logic that grid defines we need to check the computed overflow
value in that dimension. We can only apply that logic if that value is
not a scrollable value. In this patch we implement this straightforward
logic to return the correct value based off the computed style.

(WebCore::Layout::GridLayoutUtils::hasScrollableInlineComputedOverflowValue):
(WebCore::Layout::GridLayoutUtils::hasScrollableBlockComputedOverflowValue):
(WebCore::Layout::GridLayoutUtils::hasScrollableInlineOverflow): Deleted.
(WebCore::Layout::GridLayoutUtils::hasScrollableBlockOverflow): Deleted.
Rename the function to make it clear that we are checking the computed
value and not checking if the grid item's content overflowed the item.

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



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

Reply via email to