[webkit-changes] [WebKit/WebKit] dfd97e: Scrollbar does not pick up changed styles until ho...

Vitaly Dyachkov noreply at github.com
Mon May 22 13:12:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dfd97e668d4ac82721a6f233a392b695c42ab799
      https://github.com/WebKit/WebKit/commit/dfd97e668d4ac82721a6f233a392b695c42ab799
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  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




More information about the webkit-changes mailing list