[Webkit-unassigned] [Bug 49023] New: RenderFlexibleBox::layoutBlock calls setNeedsLayout(false) while children still have m_needsLayout=true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 4 14:22:48 PDT 2010


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

           Summary: RenderFlexibleBox::layoutBlock calls
                    setNeedsLayout(false) while children still have
                    m_needsLayout=true
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jamesr at chromium.org
            Blocks: 49019


The ASSERT()s in https://bugs.webkit.org/show_bug.cgi?id=49019 trigger on fast/flexbox/021.html.  With this render tree:

RenderView 0x3dfa858                       #document    0x3e03220
  RenderBlock 0x3e003f8                    HTML    0x3e421b0
    RenderBody 0x3e3d578                   BODY    0x3e42240
      RenderBlock 0x3cc9948                P    0x3e3d6b0
        RenderText 0x3e3e3c8               #text    0x3e3e340 "You should see a 100x100 green square below.  If you see any red, the test has failed.  This test is checking\nfor visibility:collapse support."
      RenderFlexibleBox 0x3e3e5f8          DIV    0x3e3e4b0
*       RenderFlexibleBox 0x3e3ead8        DIV    0x3e3e840 CLASS=first
        RenderFlexibleBox 0x3e3eff8        DIV    0x3e3ece0 CLASS=second

RenderFlexibleBox::layoutBlock() on the 0x3e3e5f8 box calls setNeedsLayout(false) on itself while its first child 0x3e3ead8 still has m_needsLayout set to true.

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