[Webkit-unassigned] [Bug 119801] New: [CSS Grid Layout] Fix grid position resolution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 14 09:01:48 PDT 2013


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

           Summary: [CSS Grid Layout] Fix grid position resolution
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: svillar at igalia.com
        Depends on: 119552
            Blocks: 60731,119540


Neither grid-{column|row}-end nor negative values are properly handled in our resolution code right now.

In order to fix it we should merge these 3 changes:

---
    r148833
    Fix the grid-{end|after} position resolution

    Our resolution code was resolving both positions in the same way
    but that doesn't work: in grid-rows: 2 / 3, the 2 lines, even if
    they are different numbers, refers to the same grid position so
    using the same formula to resolve them cannot work.

---
    r148878
   Refactor grid size estimation to use resolveGridPositionsFromStyle

    resolveGridPositionsFromStyle required to have the grid filled so that
    we resolve negative indexes against the grid's final edge. The
    specification (and the code) changed to use the 'explicit grid' which
    is independent of the grid items and depends only on the style.

---
    r150403
    This change just fixes resolveGridPositionFromStyle to handle the
    negative grid position properly. While at it, factored the position
    adjustment logic into adjustGridPostionForSide.

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