- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Fri, 07 Jun 2019 14:57:29 +0000
- To: public-houdini-archive@w3.org
The Houdini Task Force just discussed `Sending data to animators in worklet from main thread (here since it is closely related to the above)`, and agreed to the following: * `RESOLVED: Add input properties, expose for the target, should work for input right now. And we'll pursue events / message channel later for output.` <details><summary>The full IRC log of that discussion</summary> <iank_> Topic: Sending data to animators in worklet from main thread (here since it is closely related to the above)<br> <TabAtkins> github: https://github.com/w3c/css-houdini-drafts/issues/869<br> <iank_> majidvp: Similar issue as previous issue, we want to get some data from the main thread to the animation thread. We have this at startup with the options bag.<br> <iank_> majidvp: The issue is that there might be new data on the main thread that affect the animation, e.g. sizes of elements change.<br> <TabAtkins> q+<br> <iank_> majidvp: One idea is that do allow the options to be mutable, the main thread can up date the uptions, and it'll update the options on the animation thread.<br> <iank_> majidvp: The other options is using a postmessage port with the animator.<br> <iank_> flackr: If we want harmonize with css - we could do this with a property map.<br> <iank_> TabAtkins: Yes .<br> <iank_> flackr: There are several elements in play, and could read properties out of those elements.<br> <iank_> TabAtkins: When the animate() function get called, are there element references?<br> <iank_> majidvp: No the effect has a target, we don't expose that right now, but we could expose a styleMap.<br> <iank_> TabAtkins: You'd want to limit the number of properties.<br> <iank_> flackr: You could just expose all the same properties?<br> <iank_> hober: I agree.<br> <iank_> TabAtkins: Seems like we just want to expose inputProperties on the target for the effect? It doesn't let you pass information out however.<br> <iank_> majidvp: There are usecases for more stateful effects, and this stage I'm fine with not solving this.<br> <iank_> majidvp: These usecases are more important once you feed input events into animation worklet. But we don't have this yet, so its not pressing.<br> <iank_> bkardell_: A message channel is good for JS, but not good for CSS?<br> <flackr> iank_: another option is event dispatching<br> <Rossen_> q?<br> <TabAtkins> ack<br> <TabAtkins> zakim, ack<br> <Zakim> I don't understand 'ack', TabAtkins<br> <TabAtkins> q-<br> <Rossen_> ack TabAtkins<br> <iank_> majidvp: Output could be events which fits nicely with the animations API.<br> <iank_> majidvp: postmessage is more generic, but has its own lifetime concerns, but you might not want to commit to that.<br> <iank_> TabAtkins: Add input properties, expose for the target, should work for input right now. And we'll pursue events / message channel later for output.<br> <iank_> Proposal: Add input properties, expose for the target, should work for input right now. And we'll pursue events / message channel later for output.<br> <iank_> RESOLVED: Add input properties, expose for the target, should work for input right now. And we'll pursue events / message channel later for output.<br> <iank_> break 15 mins.<br> <emilio> ScribeNick: emilio<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/869#issuecomment-499917946 using your GitHub account
Received on Friday, 7 June 2019 14:57:30 UTC