Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 17701939e9dd2895c1f80708f9f6db0241a69b07
      
https://github.com/WebKit/WebKit/commit/17701939e9dd2895c1f80708f9f6db0241a69b07
  Author: Nikolaos Mouchtaris <nmouchta...@apple.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/contain-intrinsic-size-030-expected.txt
    M Source/WebCore/rendering/RenderBlock.cpp
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderBox.h
    M Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
    M Source/WebCore/rendering/RenderGrid.cpp

  Log Message:
  -----------
  [scrollbar-styling] Scrollbar-gutter should affect scroll container's 
intrinsic size
https://bugs.webkit.org/show_bug.cgi?id=277047
rdar://132509923

Reviewed by Simon Fraser.

Scrollbar gutter should affect the intrinsic size of its container based on the 
chart in the spec:
https://www.w3.org/TR/css-overflow-3/#scrollbar-gutter-property. Also remove 
asserts that are no
longer necessary because there are cases where we want to show scrollbar-gutter 
even when we do not
display the overlay scrollbars.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeIntrinsicLogicalWidths const):
(WebCore::RenderBlock::computePreferredWidthsForExcludedChildren const):
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::computeIntrinsicLogicalWidths const):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::verticalScrollbarWidth const):
(WebCore::shouldShowScrollbarGutter):
(WebCore::RenderBox::intrinsicScrollbarLogicalWidth const):
(WebCore::RenderBox::repaintDuringLayoutIfMoved):
* Source/WebCore/rendering/RenderBoxInlines.h:
(WebCore::RenderBox::contentBoxRect const):
* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::computeIntrinsicLogicalWidths const):
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::computeIntrinsicLogicalWidths const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to