Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0512cc56a87943685d365ba2784aaa5274c333c5
      
https://github.com/WebKit/WebKit/commit/0512cc56a87943685d365ba2784aaa5274c333c5
  Author: Fujii Hironori <[email protected]>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M Source/WebCore/page/scrolling/coordinated/ScrollerCoordinated.cpp
    M Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.cpp
    M Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.h
    M Source/WebCore/platform/adwaita/ScrollerImpAdwaita.h
    M Source/WebCore/platform/graphics/Damage.h

  Log Message:
  -----------
  [GTK][WPE] Limit the damage region of the scrollbar to the region actually 
painted
https://bugs.webkit.org/show_bug.cgi?id=316268

Reviewed by Carlos Garcia Campos.

The whole scrollbar layer was always damaged while the overlay scrollbar is
hiding even though the most part of the overlay scrollbar is transparent. Only
the visible part, scrollbar thumb area, should be damaged during the hiding
animaiton.

* Source/WebCore/page/scrolling/coordinated/ScrollerCoordinated.cpp:
(WebCore::ScrollerCoordinated::updateValues):
* Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.cpp:
(WebCore::AdwaitaScrollbarPainter::paint):
* Source/WebCore/platform/adwaita/AdwaitaScrollbarPainter.h:
* Source/WebCore/platform/adwaita/ScrollerImpAdwaita.h:
(WebCore::ScrollerImpAdwaita::paint):
* Source/WebCore/platform/graphics/Damage.h:

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



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

Reply via email to