fn component_needs_revalidation(
    c: &Component<SelectorImpl>,
    passed_rightmost_selector: bool
) -> bool