[Webkit-unassigned] [Bug 139058] New: [CSS Grid Layout] Wrong arguments passed to computeNormalizedFractionBreadth

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 26 03:57:07 PST 2014


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

            Bug ID: 139058
           Summary: [CSS Grid Layout] Wrong arguments passed to
                    computeNormalizedFractionBreadth
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: svillar at igalia.com

RenderGrid::computeNormalizedFractionBreadth() is supposed to get as fourth argument either the grid element's content box size or the max-size of a particular grid item. For the former we were incorrectly passing the free space after distributing the available space to tracks.

Apart from that, that method has a bug in its implementation. As we were using the free space instead of the grid element's content box size, we didn't have to subtract the usedBreadth of grid tracks from the passed in value. That does not work for the case of the caller passing the max-size of a particular item.

-- 
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/20141126/e440e062/attachment-0002.html>


More information about the webkit-unassigned mailing list