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

My proposal:

```javascript
CSS.registerFunction({
  name: 'fnName',
  call: jsFunction,
  arguments: ["<color>", "<url>"]
})

function jsFunction(color, url) {
}
```

```css
body {
   background: call("fnName", #000, url("https://imageurl"));
}
```

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


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

Received on Sunday, 19 September 2021 13:11:30 UTC