Skip to main content

matches_selector

Function matches_selector 

Source
pub(crate) fn matches_selector(
    selector: &Selector,
    current: &Node,
    ancestors: &[AncestorContext<'_>],
    sibling_index: Option<usize>,
    sibling_count: Option<usize>,
    active_pseudo_states: &[&str],
    ctx: &NodeMatchContext<'_>,
) -> bool