pub fn validate_fragment(nodes: &[Node]) -> Vec<ValidationError>
Validate an HTML fragment and return any errors.