Fixed the repeating animations at the end bug by using animationDuration as the end time of the animation instead of duration
Ref test example updated in test-playback-rate
Merge branch 'master' of https://github.com/StephMc/web-animations-test-framework