[webkit-changes] [WebKit/WebKit] 4045ef: [css-scrollbars-1] Implement resolving of scrollba...
Luke Warlow
noreply at github.com
Thu Aug 24 18:49:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4045ef1224deb4c08f783027c4f2972e04cd4c58
https://github.com/WebKit/WebKit/commit/4045ef1224deb4c08f783027c4f2972e04cd4c58
Author: Luke Warlow <luke at warlow.dev>
Date: 2023-08-24 (Thu, 24 Aug 2023)
Changed paths:
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/page/LocalFrameView.h
M Source/WebCore/platform/ScrollableArea.cpp
M Source/WebCore/platform/ScrollableArea.h
M Source/WebCore/rendering/RenderLayerScrollableArea.cpp
M Source/WebCore/rendering/RenderLayerScrollableArea.h
M Source/WebCore/rendering/style/RenderStyle.cpp
M Source/WebCore/rendering/style/RenderStyle.h
Log Message:
-----------
[css-scrollbars-1] Implement resolving of scrollbar track and thumb color
https://bugs.webkit.org/show_bug.cgi?id=260141
Reviewed by Simon Fraser.
This patch has no behavior changes.
Adds code to get the resolved scrollbar thumb and track color.
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollbarThumbColorStyle const):
(WebCore::LocalFrameView::scrollbarTrackColorStyle const):
* Source/WebCore/page/LocalFrameView.h:
* Source/WebCore/platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scrollbarThumbColorStyle const):
(WebCore::ScrollableArea::scrollbarTrackColorStyle const):
* Source/WebCore/platform/ScrollableArea.h:
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
(WebCore::RenderLayerScrollableArea::scrollbarThumbColorStyle const):
(WebCore::RenderLayerScrollableArea::scrollbarTrackColorStyle const):
* Source/WebCore/rendering/RenderLayerScrollableArea.h:
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::effectiveScrollbarThumbColor const):
(WebCore::RenderStyle::effectiveScrollbarTrackColor const):
* Source/WebCore/rendering/style/RenderStyle.h:
Canonical link: https://commits.webkit.org/267260@main
More information about the webkit-changes
mailing list