Module style::properties::cascade

source ·
Expand description

The main cascading algorithm of the style system.

Structs

Enums

  • Whether we’re cascading for visited or unvisited styles.
  • Whether we’re resolving a style with the purposes of reparenting for ::first-line.

Functions

Type Aliases

  • We track the index only for prioritary properties. For other properties we can just iterate.
  • For ignored colors mode, we sometimes want to do something equivalent to “revert-or-initial”, where we revert for a given origin, but then apply a given initial value if nothing in other origins did override it.