Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement DumpRenderTree-like in servo #4731
Closed
Labels
Comments
|
Just to be clear, you want a display list dumper, not a flow tree dumper? The latter we already have, but that is what corresponds to Gecko's frame tree and WebKit's render tree as I recall. |
|
@pcwalton: besides DisplayList::all_display_items() any other noteworthy method to the task at hand? |
|
@metajack: yep! |
|
Ok, first step was done on: #5062 What is missing now would be more information (e.g. geometry, etc). |
|
The missing step is implemented on #5209. |
|
As #5209 has landed (and considering that -Z dump-flow-tree is implemented), I think we can close this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WebKit/Blink both allow developers to dump the page RenderTree formatted as text using a console. Generally, while debugging rendering/layout bugs, this the first step to be done (i.e. inspect the elements in the render tree).
Speaking with pcwalton, DisplayList should have some code to dump its contents and it should be a matter of having a new CLI option passed to servo to print the tree to console.
This bug is to track implementing this feature.