pub(crate) fn parser_context_for_document_with_reporter<'a>(
document: &'a Document,
rule_type: CssRuleType,
parsing_mode: ParsingMode,
url_data: &'a UrlExtraData,
error_reporter: &'a dyn ParseErrorReporter,
) -> ParserContext<'a>Expand description
Like parser_context_for_document, but with a custom error reporter.