Re: [css-houdini-drafts] [css-paint-api] Rename paint(name, args) to paint-name(args)

I would also like to have an explicit *callback* selector that could be used for any kind of CSS-value processing. Like:
    `@callback(<fn_name>, ...args)`
or something like that.
So, not just for rendering an image, but any kind of value for any kind of attribute.
    `background-image: @callback('paintGradient', 'purple', 'green');`
  or maybe
    `background-image: @callback(paint-gradient, 'purple', 'green');`
that would equally point to `paintGradient` function.

 

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

Received on Wednesday, 11 April 2018 12:30:47 UTC