Conflicts: src/core/transition-attr.js src/core/transition-style.js
…2.10.0 Conflicts: src/svg/line.js
Rather than adopting CSS’s elaborate rules for detecting when the start and end transform are the same type as using piecewise (i.e., string-based) interpolation, we always use the consolidated transform transition. If you want to use string-based interpolation, simply specify d3.interpolateString as the interpolator. Fixes #746.
Although the unicode minus is typographically correct, using the standard hyphen is more conventional (and is compatible with standard parsing).
Previously, only the angle was being interpolated. Unfortunately, it looks like the origin information is lost when converted to a matrix. For example, "rotate(0 100 100)" is the identity matrix [1 0 0 1 0 0]. Interpolating the matrix decomposition seems better than dropping the origin altogether.