mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
1a39b2a083
<!-- Please describe your changes on the following line: -->
This patch restores the layout trace viewer removed in e7510ab90c
, with some changes that makes it work with https://github.com/servo/servo/pull/13214
Sorry for the minified 3rd party CSS frameworks, it was from the original version and I haven't got time to replace them with hand-crafted CSS.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because is a stand-alone debugging tool
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Source-Repo: https://github.com/servo/servo
Source-Revision: 0af9be94298c676f5bf7881847880e6f43955602
9 lines
197 B
Plaintext
9 lines
197 B
Plaintext
To generate a layout trace:
|
|
|
|
```
|
|
./mach run -d -Z trace-layout <url>
|
|
```
|
|
|
|
A few `layout_trace_<reflow_count>.json` files will be written to the current directory that can be loaded by the viewer.
|
|
|