Re: [csswg-drafts] [web-animations-1] Effect value algorithm has strange early-exit; why? (#4378)

I believe it's because if the author writes:

```js
target.animate([
  {'left': '0%', offset: '0'},
  {'left': '100px', 'offset': 1},
  {'left': '200px', 'offset': 1},
], {
  duration: 1000, fill: 'forwards'
});
```

then we need to define the result when the animation is sampled at iteration progress >= 1. In this case the author wants it to make a discrete jump to '200px' at that point.

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4378#issuecomment-536356228 using your GitHub account

Received on Monday, 30 September 2019 00:17:50 UTC