Expand description

The struct that takes care of encapsulating all the logic on where and how element styles need to be invalidated.

Structs

  • Different invalidation lists for descendants.
  • An Invalidation is a complex selector that describes which elements, relative to a current element we are processing, must be restyled.
  • The result of a whole invalidation process for a given element.
  • Traversal mapping for elements under consideration. It acts like a snapshot map, though this only “maps” one element at most. For general invalidations, this has no effect, especially since when DOM mutates, the mutation’s effect should not escape the subtree being mutated. This is not the case for relative selectors, unfortunately, so we may end up traversing a portion of the DOM tree that mutated. In case the mutation is removal, its sibling relation is severed by the time the invalidation happens. This structure recovers that relation. Note - it assumes that there is only one element under this effect.
  • The result of processing a single invalidation for a given element.
  • The struct that takes care of encapsulating all the logic on where and how element styles need to be invalidated.

Enums

Traits

Type Aliases