pub fn do_the_relayout(
dom_id: DomId,
root_bounds: LayoutRect,
layout_result: &mut LayoutResult,
_image_cache: &ImageCache,
renderer_resources: &mut RendererResources,
document_id: &DocumentId,
nodes_to_relayout: Option<&BTreeMap<NodeId, Vec<ChangedCssProperty>>>,
words_to_relayout: Option<&BTreeMap<NodeId, AzString>>,
) -> RelayoutChanges
Expand description
Relayout function, takes an existing LayoutResult and adjusts it
so that only the nodes that need relayout are touched.
See CallbacksToCall
Returns a vec of node IDs that whose layout was changed