pub fn has_ancestor_tag(
element: &ElementRef<'_>,
tag_name: &str,
max_depth: Option<usize>,
filter_fn: Option<fn(&ElementRef<'_>) -> bool>,
) -> boolExpand description
Check if element has ancestor with specific tag
pub fn has_ancestor_tag(
element: &ElementRef<'_>,
tag_name: &str,
max_depth: Option<usize>,
filter_fn: Option<fn(&ElementRef<'_>) -> bool>,
) -> boolCheck if element has ancestor with specific tag