[css-houdini-drafts] [css-paint-api] Registering properties from within a worklet. (#1057)

jespertheend has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-paint-api] Registering properties from within a worklet. ==
https://drafts.css-houdini.org/css-paint-api/#paint-worklet

I have a paint worklet that has a few color properties that I'd like to animate. But I don't like that I have to declare the property types in a separate css file. I'd prefer them in the same worker file so they are nicely bundled.
Maybe I'm missing something but I don't think there is currently any way to register properties from within a worklet.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1057 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 November 2021 14:10:28 UTC