Re: [web-animations] Rethinking document.timeline.getAnimations

2015-09-25 Thread Rachel Nabors
I think document.getAnimations makes more sense from the perspective of one writing about how the API works and using it. Timelines are like little clocks, not collections of animations. That is indeed confusing. (As an aside, I still would find a way to manipulate time at a global level (slow/spe

[web-animations] Rethinking document.timeline.getAnimations

2015-09-25 Thread Brian Birtles
Hi, Summary: * I think we should drop AnimationTimeline.getAnimations() * I think we should add Document.getAnimations() I've been working on implementing the Web Animations model in Gecko and I've made a few observations: 1. document.timeline.getAnimations() is not really useful If you wa