[Webkit-unassigned] [Bug 243452] New: Overscroll Behavior not respecting elements with no overflowing content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 2 07:08:49 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243452

            Bug ID: 243452
           Summary: Overscroll Behavior not respecting elements with no
                    overflowing content
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kari.pihkala at gmail.com

Created attachment 461359

  --> https://bugs.webkit.org/attachment.cgi?id=461359&action=review

overscrollbehavior.html

In Safari, the overscroll-behavior CSS property doesn't have any effect when the overflow property is set to "auto", "hidden" or "scroll" and when the content doesn't overflow. The overscroll-behavior CSS property should affect the scrolling behavior even if the content doesn't overflow.

Steps to reproduce:

1. Open the attached overscrollbehavior.html on a desktop browser.
2. Move the mouse cursor over the white box on the right side.
3. Try to scroll the white box with two finger scrolling.

Expected behavior: Nothing should happen. The underlying page with the blue "Main" texts should not scroll.

Actual behavior: The underlying page with the blue "Main" texts is scrolled.

Note that the gray box on the left side behaves correctly. Scrolling it with the two finger scrolling only scrolls the black "Left" texts. The blue "Main" texts are never scrolled.

Chrome 103 has the same bug https://bugs.chromium.org/p/chromium/issues/detail?id=813094
Firefox has the same issue, but no one has filed a bug for it.

Tested on Safari Technology Preview 149 (Safari 16.0, WebKit 17614.1.19.1.5) with the experimental CSS Overscroll Behavior feature enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220802/f2da3d3b/attachment.htm>


More information about the webkit-unassigned mailing list