Type Alias style::properties::cascade::DeclarationsToApplyUnlessOverriden
source · type DeclarationsToApplyUnlessOverriden = SmallVec<[PropertyDeclaration; 2]>;
Expand description
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.
This is a bit of a clunky way of achieving this.
Aliased Type§
struct DeclarationsToApplyUnlessOverriden { /* private fields */ }