Skip to main content

have_shareable_element_dependent_functions

Function have_shareable_element_dependent_functions 

Source
pub fn have_shareable_element_dependent_functions<E>(
    target: &StyleSharingTarget<E>,
    candidate: &StyleSharingCandidate<E>,
) -> bool
where E: TElement,
Expand description

Whether two elements have compatible element-dependent functions, like sibling-index(), sibling-count(), and element-scoped random().