pub fn resolve_styled_items_into(
styled_items: &[Span],
decoder: &mut EntityDecoder<'_>,
defer_attached_styles: bool,
orphan_styled_items: &mut FxHashMap<u32, [f32; 4]>,
geometry_style_index: &mut FxHashMap<u32, GeometryStyleInfo>,
deferred_attached_styled_spans: &mut Vec<(usize, usize)>,
)Expand description
The styled-item classification/resolution loop of [resolve_prepass],
exposed so the browser’s SHARDED pre-pass can fan slices of the (file-
ordered) styled-item span list across workers: each worker resolves its
contiguous slice with this exact loop, and the host merges shard results in
shard order with first-wins per geometry id — reproducing the serial
resolver’s file-order first-wins precedence (collect_geometry_style_info
skips ids already present).