We already support dumping GraphicsLayer / RenderLayer / DOM tree to the console -- paint order tree would also be handy, add that.
Pull request: https://github.com/WebKit/WebKit/pull/2358
Committed 252447@main (f836278a1403): <https://commits.webkit.org/252447@main> Reviewed commits have been landed. Closing PR #2358 and removing active labels.
<rdar://problem/97002146>