- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 4 Aug 2014 07:54:52 -0500
- To: L2L 2L <emanuelallen@hotmail.com>
- Cc: "public-fx@w3.org" <public-fx@w3.org>
On Sun, Aug 3, 2014 at 6:30 PM, L2L 2L <emanuelallen@hotmail.com> wrote: > Forgive me for any... Novice-ness. I'm just so zeal about this object coming to browsers. > > And I feel that it's beautiful that it is combining CSS, SVG, RAF, etc w3c specs as possible to make this. > > I feel strongly that utilizing what's already there can make this object stronger. > > CSS working group is advancing with CSS properties and capabilities of what CSS can do; it'll be more beneficial to leverage off that as much as possible. This email is super-long and kinda hard to read, so let me see if I can trim down your suggestions a bit. Basically, you want Web Anim to copy the CSS syntax more exactly: For the AnimationTiming dictionary, make it more like the corresponding CSS syntax: * rename 'duration' property to 'animation-duration' * rename 'iterations' property to 'animation-iteration-count' * rename 'fill' property to 'animation-fill-mode' * rename 'direction' property to 'animation-direction' * rename 'delay' property to 'animation-delay' * rename 'easing' property to 'animation-timing-function' * add an 'animation' property that accepts a full CSS string of everything but animation-name, and represents all the other values correspondingly * for all the properties, support "initial" and "inherit" (and presumably "unset" and any other global keywords?) For the AnimationPlayer methods, somehow convert the cancel()/finish()/play()/pause()/reverse() method into values for the CSS animation-play-state property, and make them apply to AnimationPlayer objects automatically. Is this an accurate summary of your email? ~TJ
Received on Monday, 4 August 2014 12:55:38 UTC