[Webkit-unassigned] [Bug 97606] New: flexbox assert fails with subpixel layout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 25 14:24:23 PDT 2012


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

           Summary: flexbox assert fails with subpixel layout
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dbarton at mathscribe.com
                CC: tony at chromium.org, ojan at chromium.org
            Blocks: 96960


Created an attachment (id=165674)
 --> (https://bugs.webkit.org/attachment.cgi?id=165674&action=review)
web page that makes totalWeightedFlexShrink < 0

The attached flex-shrink-neg.html causes an assertion failure in chromium on snowleopard.

I'll also attach some debugging output, from these lines (sorry it's a bit of a mess - I could clarify):

RenderFlexibleBox.cpp:625:         fprintf(stderr, "%g + %g, %g\n", (float) preferredMainAxisExtent, (float) availableFreeSpace, (float) minMaxAppliedMainAxisExtent);//@@@
RenderFlexibleBox.cpp:630:             fprintf(stderr, " %g avail, %g shrink\n", (float) availableFreeSpace, totalWeightedFlexShrink);//@@@
RenderFlexibleBox.cpp:846:         fprintf(stderr, "   %d: %g after -= %g * %g\n", (int) i, totalWeightedFlexShrink, child->style()->flexShrink(), (float) preferredChildSize);//@@@
RenderFlexibleBox.cpp:870:             fprintf(stderr, "  preferredChildSize = %g, avail %g\n", (float) preferredChildSize, (float) availableFreeSpace);//@@@
RenderFlexibleBox.cpp:881:             fprintf(stderr, "  adjusted %g - childSize %g\n", (float) adjustedChildSize, (float) childSize);//@@@

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