Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1ac712cb8d9ba46db5be7a0e9e33511155df750e https://github.com/WebKit/WebKit/commit/1ac712cb8d9ba46db5be7a0e9e33511155df750e Author: Vitaly Dyachkov <vit...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes