- From: Ribhararnus Pracutian via GitHub <sysbot+gh@w3.org>
- Date: Sun, 19 Sep 2021 13:11:29 +0000
- To: public-houdini-archive@w3.org
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