[Webkit-unassigned] [Bug 128372] New: [CSS Grid Layout] handle undefined RemainingSpace in computeUsedBreadthOfGridTracks algorithm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 7 03:28:45 PST 2014


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

           Summary: [CSS Grid Layout] handle undefined RemainingSpace in
                    computeUsedBreadthOfGridTracks algorithm
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jfernandez at igalia.com


The spec defines a different code path for the computeUsedBreadthOfGridTracks algorithm http://dev.w3.org/csswg/css-grid/#function-ComputeUsedBreadthOfGridTracks.
The current code has a FIXME that mentions this missing piece in our implementation.

Basically the track breadth is different when the available size is undefined and thus, cannot be taken into account during the computations.
The available size is undefined whenever the height is auto or the grid element has a shrink-to-fit behavior.

It would be also a good idea to rename the function to match the specs so the function name will start with compute instead of computed.

-- 
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