diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-02-24 01:12:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 01:12:15 -0500 |
commit | 2d1ec68d319f3eb2f612b2b698168c8ddbec557d (patch) | |
tree | 47b4b26db54da616edaa34858a27c5d37813b308 /components/canvas/webgl_thread.rs | |
parent | 08c7d084e52e5c686ccaef0a9cbff73727a34cb1 (diff) | |
parent | 5e76c93cc79613d5845fc726be5e420e431fea04 (diff) | |
download | servo-2d1ec68d319f3eb2f612b2b698168c8ddbec557d.tar.gz servo-2d1ec68d319f3eb2f612b2b698168c8ddbec557d.zip |
Auto merge of #25803 - ferjm:layout_debug, r=SimonSapin
Layout viewer for layout 2020
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
This PR makes layout 2020 dump the box and fragment tree states into json files that can be visualized with the layout viewer tool. This tool has not much functionality other than displaying these trees and allowing to inspect each node additional data, so there is a lot of room for improvements. Some ideas for follow-ups:
- Make the tool create and display diffs between tree states.
- Actually allow creating new debug scopes during box tree and fragment tree construction. Right now there is a single scope created after constructing both trees, which is not ideal as it only allows looking at the reflow result.
- Right now an independent JSON file is created per reflow. It would be nice to unify the data obtained on each reflow on a single JSON, so diffs between reflows can be displayed as well.
- Dump and display the DOM tree. Link boxes to DOM nodes.
- #23339
Diffstat (limited to 'components/canvas/webgl_thread.rs')
0 files changed, 0 insertions, 0 deletions