[webkit-changes] [WebKit/WebKit] 8d00d3: Scrollbar gutters don't update when scrollbar-widt...

Luke Warlow noreply at github.com
Mon Jul 3 11:05:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d00d37d49601fbb0bd5320641f73a91d9bb01a2
      https://github.com/WebKit/WebKit/commit/8d00d37d49601fbb0bd5320641f73a91d9bb01a2
  Author: Luke Warlow <luke at warlow.dev>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-dynamic-003-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-dynamic-003-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-dynamic-003.html
    M Source/WebCore/rendering/style/RenderStyle.cpp

  Log Message:
  -----------
  Scrollbar gutters don't update when scrollbar-width value does
https://bugs.webkit.org/show_bug.cgi?id=258770

Reviewed by Tim Nguyen.

Correctly diff scrollbar-width inside of RenderStyle::rareDataChangeRequiresLayout.

Scrollbar gutters now correctly repaint.

Add a WPT test that tests this.

* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-dynamic-003-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-dynamic-003-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-dynamic-003.html: Added.
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::rareDataChangeRequiresLayout):

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




More information about the webkit-changes mailing list