[webkit-changes] [WebKit/WebKit] 9a055c: Implement scrollbar-gutter both-edges support on n...

Luke Warlow noreply at github.com
Thu Jun 15 08:53:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9a055c133ed578da42d94db83e7e62e367f0e25f
      https://github.com/WebKit/WebKit/commit/9a055c133ed578da42d94db83e7e62e367f0e25f
  Author: Luke Warlow <luke at warlow.dev>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-001-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-rtl-001-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-vertical-lr-001-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-vertical-rl-001-expected.txt
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderBoxInlines.h
    M Source/WebCore/rendering/style/RenderStyle.h

  Log Message:
  -----------
  Implement scrollbar-gutter both-edges support on non-viewports
https://bugs.webkit.org/show_bug.cgi?id=257708

Reviewed by Simon Fraser.

Scrollbar gutter now correctly works (on non-viewports) for both the
"stable" and "stable both-edges" values.

* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-001-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-rtl-001-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-vertical-lr-001-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-vertical-rl-001-expected.txt:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::determineLogicalLeftPositionForChild):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::contentBoxLocation const):
* Source/WebCore/rendering/RenderBoxInlines.h:
(WebCore::RenderBox::computedCSSContentBoxRect const):
(WebCore::RenderBox::contentHeight const):
(WebCore::RenderBox::contentWidth const):
(WebCore::RenderBox::overridingContentLogicalHeight const):
(WebCore::RenderBox::overridingContentLogicalWidth const):
* Source/WebCore/rendering/style/RenderStyle.h:

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




More information about the webkit-changes mailing list