[Webkit-unassigned] [Bug 145099] New: scroll-snap points should be be implemented as a container of coordinates

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 16 15:58:17 PDT 2015


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

            Bug ID: 145099
           Summary: scroll-snap points should be be implemented as a
                    container of coordinates
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The existing two-axis scroll snap implementation works fine for a regular 2-dimensional grid, but fails if we want to support irregularly-shaped containers of elements (e.g., "Masonry-style layout").

To better accommodate this type of layout, we need to switch from disparate vectors of x and y snap points, and instead consider snap points as 2-dimensional entities.

The downside of this approach is that very large grids would consume much more memory (i.e, we go from 2N memory use to N^2). However, I doubt that we will encounter scroll snap documents of sufficient size for this to be a problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150516/57218888/attachment.html>


More information about the webkit-unassigned mailing list