[css-images-3] interpolating cross-fade(A, B) with cross-fade(B, A) · Issue #2852 · w3c/csswg-drafts (original) (raw)

Currently we spec that the arguments to cross-fade() are interpolated independently. However, this doesn't handle the case of cross-fade(A, B) to cross-fade(B, A) very nicely: it ends up creating a tree of cross-fades where one isn't necessary.

This is particularly a concern when the cross-fades are triggered by transitions which are reversed partway.