[Webkit-unassigned] [Bug 106068] New: Assert in RenderGeometryMap::mapToContainer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 3 17:07:23 PST 2013


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

           Summary: Assert in RenderGeometryMap::mapToContainer
           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: achicu at adobe.com
                CC: simon.fraser at apple.com


There's an assert in RenderGeometryMap::mapToContainer when opening the attached test case.

I've replaced the assert with the following code:

    if (enclosingIntRect(rendererMappedResult) != enclosingIntRect(FloatQuad(result).boundingBox())) {
        IntRect initialRect = enclosingIntRect(rect);
        IntRect rect1 = enclosingIntRect(rendererMappedResult);
        IntRect rect2 = enclosingIntRect(FloatQuad(result).boundingBox());
        fprintf(stderr, "Initial rects 1: %d %d %d %d\n", initialRect.x(), initialRect.y(), initialRect.width(), initialRect.height());
        fprintf(stderr, "Mismatched rects 1: %d %d %d %d\n            2: %d %d %d %d\n", rect1.x(), rect1.y(), rect1.width(), rect1.height(),
                rect2.x(), rect2.y(), rect2.width(), rect2.height());
        m_mapping.last().m_renderer->showRenderTreeForThis();
    }

and here is what I get:

Initial rects 1: 0 0 0 0
Mismatched rects 1: 123 123 0 0
            2: 0 0 0 0
RenderView 0x7fcfe4b06e98                  #document    0x7fcfe6002a00
  RenderBlock 0x7fcfe4b0da88               HTML    0x7fcfe4b0b320
    RenderBody 0x7fcfe4b0ddc8              BODY    0x7fcfe4b0d4a0
      RenderBlock (relative positioned) 0x7fcfe4b108d8    DIV    0x7fcfe4b0d510
*       RenderBlock 0x7fcfe4b0c9e8         DIV    0x7fcfe4b0d620

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