Struct style::invalidation::stylesheets::StylesheetInvalidationSet [] [src]

pub struct StylesheetInvalidationSet { /* fields omitted */ }

A set of invalidations due to stylesheet additions.

TODO(emilio): We might be able to do the same analysis for media query changes too (or even selector changes?).

Methods

impl StylesheetInvalidationSet
[src]

[src]

Create an empty StylesheetInvalidationSet.

[src]

Mark the DOM tree styles' as fully invalid.

[src]

Analyze the given stylesheet, and collect invalidations from their rules, in order to avoid doing a full restyle when we style the document next time.

[src]

Clears the invalidation set, invalidating elements as needed if document_element is provided.

Returns true if any invalidations ocurred.

[src]

Clears the invalidation set without processing.

Trait Implementations

impl MallocSizeOf for StylesheetInvalidationSet
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more