Struct style::style_resolver::StyleResolverForElement [] [src]

pub struct StyleResolverForElement<'a, 'ctx, 'le, E> where
    'ctx: 'a,
    'le: 'ctx,
    E: TElement + MatchMethods + 'le, 
{ /* fields omitted */ }

A struct that takes care of resolving the style of a given element.

Methods

impl<'a, 'ctx, 'le, E> StyleResolverForElement<'a, 'ctx, 'le, E> where
    'ctx: 'a,
    'le: 'ctx,
    E: TElement + MatchMethods + 'le, 
[src]

[src]

Trivially construct a new StyleResolverForElement.

[src]

Resolve just the style of a given element.

[src]

Resolve the style of a given element, and all its eager pseudo-elements.

[src]

Resolve an element's styles with the default inheritance parent/layout parents.

[src]

Cascade a set of rules, using the default parent for inheritance.

[src]

Cascade the element and pseudo-element styles with the default parents.