pub(crate) fn matches_simple_selector(
tag_name: &str,
id: &Option<String>,
classes: &Vec<String>,
attributes: &BTreeMap<String, String>,
sel: &SimpleSelector,
sibling_index: Option<usize>,
sibling_count: Option<usize>,
active_pseudo_states: &[&str],
type_index: Option<usize>,
type_count: Option<usize>,
is_empty: bool,
node_ptr: usize,
node_children: &[Node],
own_siblings: Option<&[Node]>,
is_disabled: bool,
) -> bool