Hi,

In http://webkit.org/blog/114/webcore-rendering-i-the-basics/, it said
webkit will build a Render tree for each page it loads.
Is there a tool/API for me to dump the Render Tree to a file/screen?

The closest I find is './WebKitBuild/Debug/DumpRenderTree', but when I run it

$ ./WebKitBuild/Debug/DumpRenderTree http://www.cnn.com
Blocked access to external URL http://www.cnn.com/
Content-Type: text/plain
layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x584
#EOF
LEAK: 1 JSC::Node

Moreover , is there any tool/function to dump the DOM of a page to file/screen?

Thank you.
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to