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.

Functions

NOTE: This function expects the declaration with more priority to appear first.
Performs the CSS cascade, computing new styles for an element from its parent style.

Type Definitions

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.