Function style::dom_apis::connected_element_is_descendant_of
source ยท fn connected_element_is_descendant_of<E>(
element: E,
root: E::ConcreteNode,
) -> boolwhere
E: TElement,
Expand description
Returns whether a given element connected to root
is descendant of root
.
NOTE(emilio): if root == element, this returns false.