[webkit-changes] [WebKit/WebKit] d911d7: [GTK][WPE] AsyncScrolling: site bobbyhadz.com/blog...

Carlos Garcia Campos noreply at github.com
Wed Oct 26 01:33:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d911d7875a4949d3b3b5fd15246ea752882ff658
      https://github.com/WebKit/WebKit/commit/d911d7875a4949d3b3b5fd15246ea752882ff658
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp
    M Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h

  Log Message:
  -----------
  [GTK][WPE] AsyncScrolling: site bobbyhadz.com/blog/git-commit-skip-hooks is not scrollable
https://bugs.webkit.org/show_bug.cgi?id=247004

Reviewed by Žan Doberšek.

The problem is that ScrollingTreeNicosia::scrollingNodeForPoint() is
returning an overflow node containing the given point, but its event
region doesn't contain the point.

* Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp:
(WebCore::collectDescendantLayersAtPoint): Check also the event region contains the given point.
* Source/WebCore/platform/graphics/nicosia/NicosiaPlatformLayer.h: Add EventRegion.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::setEventRegion):
(WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:

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




More information about the webkit-changes mailing list