Re: [css-houdini-drafts] [css-custom-functions] user-defined custom CSS functions (#1007)

I think for better performance, you'd need something more like the paint worklet, which can operate earlier in the render cycle. Also, passing to / from JavaScript requires you to define types in terms of the CSS OM. Which is why I'm proposing the [Value Transform worklets](https://github.com/w3c/css-houdini-drafts/issues/1088).

-- 
GitHub Notification of comment by matthew-dean
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1007#issuecomment-1537524307 using your GitHub account


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

Received on Sunday, 7 May 2023 19:36:58 UTC