[webkit-changes] [WebKit/WebKit] e3f070: [scrollbar-styling] Implement scrollbar-width for iOS

Nikos Mouchtaris noreply at github.com
Thu Aug 1 10:17:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e3f070792f2ec7eff5fa3dabc4bde4732b70260d
      https://github.com/WebKit/WebKit/commit/e3f070792f2ec7eff5fa3dabc4bde4732b70260d
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    A LayoutTests/fast/scrolling/ios/scrollbar-width-expected.txt
    A LayoutTests/fast/scrolling/ios/scrollbar-width-iframe-expected.txt
    A LayoutTests/fast/scrolling/ios/scrollbar-width-iframe.html
    A LayoutTests/fast/scrolling/ios/scrollbar-width.html
    M LayoutTests/resources/ui-helper.js
    M Source/WebCore/page/scrolling/ScrollingTree.cpp
    M Source/WebCore/page/scrolling/ScrollingTree.h
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
    M Source/WebKit/UIProcess/API/ios/WKWebViewPrivateForTestingIOS.h
    M Source/WebKit/UIProcess/API/ios/WKWebViewTestingIOS.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS.h
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.h
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm
    M Tools/WebKitTestRunner/ios/UIScriptControllerIOS.h
    M Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm

  Log Message:
  -----------
  [scrollbar-styling] Implement scrollbar-width for iOS
https://bugs.webkit.org/show_bug.cgi?id=277167
rdar://132602608

Reviewed by Simon Fraser.

Hide scrollbars on iOS for scrollbar-width:none.

* LayoutTests/fast/scrolling/ios/scrollbar-width-expected.txt: Added.
* LayoutTests/fast/scrolling/ios/scrollbar-width-iframe-expected.txt: Added.
* LayoutTests/fast/scrolling/ios/scrollbar-width-iframe.html: Added.
* LayoutTests/fast/scrolling/ios/scrollbar-width.html: Added.
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS.h:
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeFrameScrollingNodeRemoteIOS.mm:
(WebKit::ScrollingTreeFrameScrollingNodeRemoteIOS::scrollbarStateForOrientation const):
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.h:
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm:
(WebKit::ScrollingTreeOverflowScrollingNodeIOS::scrollbarStateForOrientation const):
* Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm:
(WebKit::ScrollingTreeScrollingNodeDelegateIOS::commitStateAfterChildren):

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



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


More information about the webkit-changes mailing list