pub fn count_layout_passes(document: &Document) -> u32Expand description
Number of full layout passes a document needs (1 for the common case; 2–3 only when a page-number sentinel’s reserved width must be corrected). Exposed as the regression guard for the sentinel re-layout optimization.