have_same_style_attribute

Function have_same_style_attribute 

Source
pub fn have_same_style_attribute<E>(
    target: &mut StyleSharingTarget<E>,
    candidate: &mut StyleSharingCandidate<E>,
    shared_context: &SharedStyleContext<'_>,
) -> bool
where E: TElement,
Expand description

Whether two elements have the same style attribute.

First checks pointer identity (fast path), then falls back to value comparison.