pub fn restyle_document(
html: &str,
sheets: &[&'static Stylesheet],
known: &[&str],
) -> StringExpand description
Rewrite the per-class <style> elements of a rendered document (a cached
static page) for a browser that already has the style ids known: only
what it is missing is kept.
Every per-class stylesheet rendered so far (component libraries’ too) is
considered, besides sheets.