The main cascading algorithm of the style system.
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.
For ignored colors mode, we sometimes want to do something equivalent to “revert-or-initial”, where we
revertfor a given origin, but then apply a given initial value if nothing in other origins did override it.