#[allow(clippy::too_many_lines)] // large but cohesive: single-purpose layout/render/parse routine
#[allow(clippy::too_many_lines)] // large but cohesive: single-purpose layout/render/parse routine
let (scroll_ids, scroll_id_to_node_id) = LayoutWindow::compute_scroll_ids(&new_tree, new_dom);