Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dfd97e668d4ac82721a6f233a392b695c42ab799
https://github.com/WebKit/WebKit/commit/dfd97e668d4ac82721a6f233a392b695c42ab799
Author: Vitaly Dyachkov <[email protected]>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M LayoutTests/fast/css/scrollbar-dynamic-style-change-expected.html
M LayoutTests/fast/css/scrollbar-dynamic-style-change.html
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
Scrollbar does not pick up changed styles until hovered
https://bugs.webkit.org/show_bug.cgi?id=113727
Reviewed by Simon Fraser.
Resolve the pseudo-element `::-webkit-scrollbar` in the same way as it
is done with other pseudo-elements that can be applied to any element.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):
(WebCore::Style::TreeResolver::resolvePseudoElement):
* LayoutTests/fast/css/scrollbar-dynamic-style-change-expected.html: Rebaselined
* LayoutTests/fast/css/scrollbar-dynamic-style-change.html: Ditto
Canonical link: https://commits.webkit.org/264356@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes