Re: [web-animations] Bubble animation events to effects

2015-06-29 Thread Glen Huang
Thank you for the detailed explanation. I think i have a better understanding on how to use web-animations now. On Jun 29, 2015, at 9:42 AM, Brian Birtles bbirt...@mozilla.com wrote: Hi Glen, Sorry, I'm just now catching up on your feedback. On 2015/06/25 20:58, Glen Huang wrote: Also

[web-animations] Updating the finish promise in a separate task

2015-06-29 Thread Brian Birtles
Hi, I'm currently speccing finish/cancel events for animations and I think it makes sense to dispatch finish events and also update the finished promise in a separate task. The would mean that something like: var anim = elem.animate({...}, 3000); anim.currentTime = 5000;