[Webkit-unassigned] [Bug 260934] New: Element#scroll() breaks rendering while inertial scroll happens

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 30 17:03:15 PDT 2023


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

            Bug ID: 260934
           Summary: Element#scroll() breaks rendering while inertial
                    scroll happens
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tomasloon at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Steps to reproduce:
1. Open https://jsbin.com/wekikog in Safari iOS 16
2. Scroll with your finger fast (so inertial scrolling of the div happens)
3. While inertial scrolling is slowing down, press the SCROLL(500) button. This button calls `element.scroll(0, 500)` where `element` is the scrollable DIV.

Current behavior:
The entire scrollable DIV scrolls to the proper Y position but becomes WHITE.

Expected behavior:
The scrollable DIV should not become WHITE.

NOTES:

1) This seems to only happen at certain speeds, if the inertial scrolling is going slow enough, rendering doesn't break.
2) This is reproducible in both the Xcode Simulator as well as physical devices
3) Calling `element.scroll(0, 500)` after inertial finished works as expected

-- 
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/20230831/1a388517/attachment.htm>


More information about the webkit-unassigned mailing list