Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5245130a89305c2bfa17d07f6f843e1073ccac6e
      
https://github.com/WebKit/WebKit/commit/5245130a89305c2bfa17d07f6f843e1073ccac6e
  Author: Simon Fraser <[email protected]>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M Source/WebCore/platform/ScrollView.cpp
    M Source/WebCore/platform/ScrollView.h

  Log Message:
  -----------
  With macOS UI-side compositing, point-mapping in ScrollView should map 
through the scroll position
https://bugs.webkit.org/show_bug.cgi?id=246910
rdar://101468086

Reviewed by Tim Horton.

with macOS UI-side compositing, we'll continue to map coordinates through the
ScrollView's scroll position (and top content inset), as we do with web process
compositing. So the coordinate mapping functions in ScrollView should only
return early in the "scrolling handled by native view" case.

* Source/WebCore/platform/ScrollView.cpp:
(WebCore::ScrollView::setScrollPosition):
(WebCore::ScrollView::viewToContents const):
(WebCore::ScrollView::contentsToView const):
(WebCore::ScrollView::rootViewToTotalContents const):
* Source/WebCore/platform/ScrollView.h:
(WebCore::ScrollView::delegatesScrollingToNativeView const):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to