pub static SKIP_DISPLAY_LIST: AtomicBoolExpand description
Main entry point for the incremental, cached layout engine.
new_dom is borrowed, not owned — every use inside is &new_dom,
so taking ownership was a pure formality that forced every caller
to styled_dom.clone() the DOM before calling. The clone was
~2 MiB per render on excel.html; kept at the borrow now.
Web-backend opt-out for display-list generation.
When set, layout_document runs the full positioning pipeline
(intrinsic sizing, taffy block/flex/grid, relative/sticky/absolute
adjustment → calculated_positions) but skips
generate_display_list, returning an empty DisplayList. The
web backend emits TLV DOM patches, not a display list, so it needs
the geometry in calculated_positions but nothing the painter
produces. This also lets the AArch64→wasm lift drop the entire
display_list painter surface (those symbols are classified Leaf
in dll/src/web/symbol_table.rs::classify_for_name, so the
transitive lifter never descends into them). Defaults false →
desktop/native behaviour is unchanged.