servo/components/layout/flow
JoeDow 8a1cc69717
Layout: minor optimizations and bugfix for non-functional details (#38197)
This change adds some minor optimizations and bugfix for non-functional
details with seperated commits:
- fix the omission that stop use `Rayon` in single-thread mode
- add trace for incremental box tree construction
- fix the bug that failed to skip reflow entirely when there is no need
for `restyle` and a fragment tree has already been built.
- add trace for stylist preparation during reflow. In certain scenarios,
this phase might take up a significant amount of time, such as when
there are a large number of shadow trees.

Testing: This should not change observable behavior and is thus covered
by existing WPT tests.

---------

Signed-off-by: sharpshooter_pt <ibluegalaxy_taoj@163.com>
2025-07-22 10:56:52 +00:00
..
inline layout: Remove IndependentNonReplacedContents (#37971) 2025-07-10 07:46:04 +00:00
construct.rs layout: Store most anonymous pseudo-elements in box slots (#37941) 2025-07-08 15:22:09 +00:00
float.rs layout: Unify logic for laying out replaced and non-replaced in a BFC (#37864) 2025-07-04 17:47:40 +00:00
mod.rs layout: Unify layout logic for replaced and non-replaced floats&atomics (#37897) 2025-07-09 19:46:22 +00:00
root.rs Layout: minor optimizations and bugfix for non-functional details (#38197) 2025-07-22 10:56:52 +00:00