[webkit-changes] [WebKit/WebKit] 61d38f: Grid container with `overflow: visible/clip` incor...

Alan Baradlay noreply at github.com
Mon Feb 10 05:20:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 61d38fdfbee91c654a48509461074aaec364e5e1
      https://github.com/WebKit/WebKit/commit/61d38fdfbee91c654a48509461074aaec364e5e1
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-grid-item-margin-inline-end-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-grid-item-margin-inline-end.html
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  Grid container with `overflow: visible/clip` incorrectly account for the inline margin end of grid items
https://bugs.webkit.org/show_bug.cgi?id=287350

Reviewed by Antti Koivisto.

This change aligns WebKit's scrollable overflow (layout overflow) behavior with Chrome and Firefox.

* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-child-margin-inline-end-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-with-child-margin-inline-end.html: Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::layoutOverflowRectForPropagation const):

Canonical link: https://commits.webkit.org/290156@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