Re: [csswg-drafts] [css-transitions][css-animations] Complex timing functions

@vidhill's proposal is pretty much the distilled essence of procedural
 animation. Using Javascript is great because you can directly specify
 any function you want. It's roughly what I'd personally want for most
 things. Main issue is the syntax; I think it'd be better if you could
 reference a Javascript function in the page context rather than 
having to use a separate .js resource.

That said, it's definitely a Houdini thing, for the reasons people 
have mentioned. One, it obviously requires Javascript to be available.
 And two, there has to be some guarantee that the animation function 
won't be poking at the DOM or network or global state. Neither is a 
problem in the context of Houdini, which assumes the availablity of JS
 to begin with, and has the "worklet" concept for isolating functions 
from the page's normal JS context. Houdini also should solve the 
"reference a fragment of JS from CSS somehow" problem in a general 
way.

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

Received on Saturday, 30 July 2016 22:45:20 UTC