Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e0ec97f7980fc2630c81b844c603a40b160a936
      
https://github.com/WebKit/WebKit/commit/9e0ec97f7980fc2630c81b844c603a40b160a936
  Author: Wenson Hsieh <wenson_hs...@apple.com>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    A 
LayoutTests/tiled-drawing/scrolling/scroll-with-bottom-right-content-inset-expected.html
    A 
LayoutTests/tiled-drawing/scrolling/scroll-with-bottom-right-content-inset.html
    M Source/WebCore/platform/ScrollView.cpp

  Log Message:
  -----------
  [macOS] Add support for bottom and right obscured content insets
https://bugs.webkit.org/show_bug.cgi?id=288946
rdar://145983150

Reviewed by Richard Robinson.

Adjust logic in `sizeForUnobscuredContent` to shrink the unobscured content 
size by the right and
bottom content insets (not just left/top insets).

* 
LayoutTests/tiled-drawing/scrolling/scroll-with-bottom-right-content-inset-expected.html:
 Added.
* 
LayoutTests/tiled-drawing/scrolling/scroll-with-bottom-right-content-inset.html:
 Added.

Add a new layout test to exercise support for bottom/right content insets by 
scrolling to reveal the
bottom/right content inset areas. The top/left bars should be scrolled out of 
view, such that the
final ref snapshot should be a completely blank view.

* Source/WebCore/platform/ScrollView.cpp:
(WebCore::ScrollView::sizeForUnobscuredContent const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to