[webkit-changes] [WebKit/WebKit] 56109d: [scrollbar-styling] Implement dynamic changing of ...
Nikos Mouchtaris
noreply at github.com
Thu Aug 8 17:02:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 56109dd1e516a76e825afb71ffdb0966ad962eb4
https://github.com/WebKit/WebKit/commit/56109dd1e516a76e825afb71ffdb0966ad962eb4
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2024-08-08 (Thu, 08 Aug 2024)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac-wk1/TestExpectations
M LayoutTests/platform/wpe/TestExpectations
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/page/LocalFrameView.h
M Source/WebCore/platform/ScrollableArea.h
M Source/WebCore/platform/Scrollbar.cpp
M Source/WebCore/platform/Scrollbar.h
M Source/WebCore/platform/mac/ScrollbarsControllerMac.h
M Source/WebCore/platform/mac/ScrollbarsControllerMac.mm
M Source/WebCore/rendering/RenderBox.cpp
M Source/WebCore/rendering/RenderLayerScrollableArea.cpp
M Source/WebCore/rendering/RenderLayerScrollableArea.h
M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollbarsController.mm
Log Message:
-----------
[scrollbar-styling] Implement dynamic changing of scrollbar-width
https://bugs.webkit.org/show_bug.cgi?id=276520
rdar://131580592
Reviewed by Simon Fraser.
Add code in styleDidChange to dynamically update the NSScrollerImp when the value of
scrollbar-width is changed. Also send this value through to the UIProcess to ensure this works
with UI-side compositing.
* LayoutTests/TestExpectations:
* Source/WebCore/platform/Scrollbar.cpp:
(WebCore::Scrollbar::updateScrollbarThickness):
* Source/WebCore/platform/Scrollbar.h:
(WebCore::Scrollbar::setWidthStyle):
* Source/WebCore/platform/ScrollbarsController.cpp:
(WebCore::ScrollbarsController::updateScrollbarsThickness):
* Source/WebCore/platform/mac/ScrollbarsControllerMac.h:
* Source/WebCore/platform/mac/ScrollbarsControllerMac.mm:
(WebCore::ScrollbarsControllerMac::updateScrollerStyle):
(WebCore::ScrollbarsControllerMac::scrollbarWidthChanged):
* Source/WebCore/platform/mock/ScrollbarThemeMock.cpp:
(WebCore::ScrollbarThemeMock::scrollbarThickness):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteScrollbarsController.mm:
(WebKit::RemoteScrollbarsController::scrollbarWidthChanged):
(WebKit::RemoteScrollbarsController::updateScrollbarStyle):
Canonical link: https://commits.webkit.org/282018@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