Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: cf8e0e72f6f6e9e6561d6710df9a1113d7acd124
      
https://github.com/WebKit/WebKit/commit/cf8e0e72f6f6e9e6561d6710df9a1113d7acd124
  Author: Kate Lee <[email protected]>
  Date:   2026-05-22 (Fri, 22 May 2026)

  Changed paths:
    M LayoutTests/platform/gtk/TestExpectations
    M LayoutTests/platform/wpe/TestExpectations
    M Source/WebCore/platform/generic/ScrollbarsControllerGeneric.cpp
    M Source/WebCore/platform/generic/ScrollbarsControllerGeneric.h

  Log Message:
  -----------
  Cherry-pick 313719@main (ea6f507822be). 
https://bugs.webkit.org/show_bug.cgi?id=315345

    [GTK][WPE] Dynamic scrollbar-width changes are not repainted
    https://bugs.webkit.org/show_bug.cgi?id=315345

    Reviewed by Carlos Garcia Campos.

    ScrollbarsControllerGeneric did not override scrollbarWidthChanged(),
    so dynamic CSS scrollbar-width updates left the Scrollbar's m_widthStyle
    and frameRect stale and the previous thickness kept being painted.
    ScrollbarsControllerMac and RemoteScrollbarsController already do this.

    Override scrollbarWidthChanged() in ScrollbarsControllerGeneric to call
    updateScrollbarsThickness(), which re-reads scrollbarWidthStyle() on each
    Scrollbar and resizes its frameRect via the theme.

    * Source/WebCore/platform/generic/ScrollbarsControllerGeneric.h:
    * Source/WebCore/platform/generic/ScrollbarsControllerGeneric.cpp:
    (WebCore::ScrollbarsControllerGeneric::scrollbarWidthChanged):
    * LayoutTests/platform/gtk/TestExpectations:
    * LayoutTests/platform/wpe/TestExpectations:

    Canonical link: https://commits.webkit.org/313719@main

Canonical link: https://commits.webkit.org/305877.663@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to