pub fn have_same_class<E>(
    target: &mut StyleSharingTarget<E>,
    candidate: &mut StyleSharingCandidate<E>
) -> boolwhere
    E: TElement,
Expand description

Whether a given element has the same class attribute as a given candidate.

We don’t try to share style across elements with different class attributes.