[Webkit-unassigned] [Bug 112299] New: [CSS Grid Layout] resolveContentBasedTrackSizingFunctions should iterate over grid items not grid tracks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 13 16:31:40 PDT 2013


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

           Summary: [CSS Grid Layout]
                    resolveContentBasedTrackSizingFunctions should iterate
                    over grid items not grid tracks
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org
                CC: tony at chromium.org, xan.lopez at gmail.com,
                    ojan at chromium.org
            Blocks: 103314


While implementing the first layout algorithm, we made the choice to do a grid tracks' iteration in resolveContentBasedTrackSizingFunctions, ignoring the fact that the specification does a grid items'.

Iterating over grid items is more efficient for sparse grids. However it requires an additional pass over the grid tracks as we don't know which ones have been touched during the loop so it's difficult to say in the general case.

However to properly implement grid spanning, we need to consider grid items and not grid tracks as a single grid item can now (differently) contribute to several grid tracks. This change will align our layout algorithm with the specification to make it easier to implement spanning.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list