[Webkit-unassigned] [Bug 218277] New: Reconsider ScrollAnimator/ScrollController split

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 03:25:33 PDT 2020


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

            Bug ID: 218277
           Summary: Reconsider ScrollAnimator/ScrollController split
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mrobinson at webkit.org
                CC: cathiechen at igalia.com, rwlbuis at gmail.com,
                    simon.fraser at apple.com

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

Currently ScrollAnimator is a platform-independent class used for animating scrollable areas. If rubber banding or scroll snap are enabled ScrollAnimator owns a ScrollController, which takes care of animating these particular behaviors. There are some issues with this design:

* It's unclear where the boundaries of the areas-of-concern are. Should state be stored in ScrollController or ScrollAnimator?
* Platform-specific code boundaries are a little fuzzy. There is Mac-specific code in ScrollController, ScrollAnimator, and ScrollAnimatorMac.
* We'd like to enable scroll snap support on other platforms, but probably not rubber banding. ScrollController currently manages both of those.

-- 
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/20201028/4289d09a/attachment.htm>


More information about the webkit-unassigned mailing list