Existing tests:
* Mismatched lengths, from shorter, prefix match
* Mismatched lengths, to shorter, prefix match
* None → None
* None → Something
* Something → None
* Perfect match
* Matches on Primitives
* Matches on rotation vector
* Matches due to 0deg
* Common prefix
* Complete mismatch except length
* Complete mismatch including length
These tests cover extending the shorter|missing list, and matrix fallback on the entire list, but do not fully cover a mix of pairwise and matrix interpolation.
Proposed additions:
* Mismatched lengths, from shorter, partial match
e.g. rotate(0deg) scaleX(1) -> rotate(360deg) translateX(0px) ...
* Mismatched lengths, to shorter, partial match
* Mismatched lengths, from shorter, partial match on primitive
e.g. scaleX rotate -> scaleY translate ...
* Mismatched lengths, to shorter, partial match on primitive
* Same length, common prefix by primitive
e.g. scaleX ... -> scaleY ...
Some care needed to ensure that the partial pairwise and matrix fallback paths lead to different interpolations.
Comment 1 by bugdroid1@chromium.org
, Jan 3