[webkit-changes] [WebKit/WebKit] e97230: [Grid] Add inline end and block end padding to gri...

Sammy Gill noreply at github.com
Fri Aug 16 19:59:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e972300ade203f0eeaa42ff518876ceeee05d581
      https://github.com/WebKit/WebKit/commit/e972300ade203f0eeaa42ff518876ceeee05d581
  Author: Sammy Gill <sammy.gill at apple.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

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

  Log Message:
  -----------
  [Grid] Add inline end and block end padding to grid area overflow rect
https://bugs.webkit.org/show_bug.cgi?id=260299
rdar://113985683

Reviewed by Alan Baradlay.

In 281594 at main we started considering the grid area when computing the
overflow rect of a grid. We also need to expand the rect covered by the
grid area to include the inline end and block end padding.

We do this in some form already in RenderBlock::computeOverflow but that
is done by creating a rect from the children of the renderer and adding
the appropriate padding.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::computeOverflow):

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



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


More information about the webkit-changes mailing list