зеркало из https://github.com/mozilla/gecko-dev.git
72f401280b
<!-- Please describe your changes on the following line: --> This is a follow up for #13740, so r? @jdm The first patch enables JSON serialization for flexbox flows, the second one fixed format incompatibilities for the layout viewer. The 3rd and 4th patches are just layout viewer UI enhancements, we could split that to a spearate PR if you prefer. --- <!-- 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 - [x] These changes fix #13846 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it's a trivial debug 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: 58fec2f05a21eb69899c8ec21e4b95000cfed2f2 |
||
---|---|---|
.. | ||
css | ||
fonts | ||
js | ||
README | ||
viewer.html |
README
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.