Re: [csswg-drafts] Custom mathematical functions (#7490)

> Somewhat related, maybe? depending on how you squint at it? [w3c/css-houdini-drafts#857](https://github.com/w3c/css-houdini-drafts/issues/857)

Definitely. Thanks for pointing me to that issue 🙏🏼

I think the main difference was that this proposal was limited to mathematical or "pure" functions. They could be defined directly in css, and I hoped they could be easier to implement and polyfill than fully-fledged functions. 

The houdini proposal is much more powerful and would allow you to back the custom functions with js.

I don't think there's a need for both custom _mathematial_ functions, and proper/complex custom functions. Closing this issue, hoping that there will be a way to declare simple functions directly in css once the `css-functions-api` is drafted up.

 

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


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

Received on Wednesday, 13 July 2022 12:44:42 UTC