[webkit-changes] [WebKit/WebKit] 1ac712: Dynamically added custom scrollbar styles don't apply
Vitaly Dyachkov
noreply at github.com
Fri Jun 9 03:56:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ac712cb8d9ba46db5be7a0e9e33511155df750e
https://github.com/WebKit/WebKit/commit/1ac712cb8d9ba46db5be7a0e9e33511155df750e
Author: Vitaly Dyachkov <vitaly at igalia.com>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
A LayoutTests/fast/css/scrollbar-custom-dynamic-change-expected.html
A LayoutTests/fast/css/scrollbar-custom-dynamic-change.html
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
Dynamically added custom scrollbar styles don't apply
https://bugs.webkit.org/show_bug.cgi?id=211219
Reviewed by Antti Koivisto.
`::-webkit-scrollbar` pseudo-element should be resolved eagerly during
style resolution, similar to `::first-line` and `::first-letter`.
* LayoutTests/fast/css/scrollbar-custom-dynamic-change-expected.html: Added.
* LayoutTests/fast/css/scrollbar-custom-dynamic-change.html: Added.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):
Canonical link: https://commits.webkit.org/265015@main
More information about the webkit-changes
mailing list