[Webkit-unassigned] [Bug 31288] New: Add a function to show render tree for debugging

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 10 00:57:40 PST 2009


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

           Summary: Add a function to show render tree for debugging
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hamaji at chromium.org


RenderObject::showTree only dumps DOM tree and we cannot see anonymous render
nodes. WebCore::externalRepresentation dumps a render tree. But it has two
issues: 1. it calls RenderObject::layout() as a side effect. This may cause
crash in some contexts and 2. it returns the tree as a String instead of
outputting to stderr, which isn't so convenient.

So, it would be OK to add another function to dump the render tree.

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