Fix #13855: line-height animations. Close gh-1265.
Ref 3971c2eb: Sync with 1.x-master