[css-houdini-drafts] [css-paint-api] Add inputArguments to paint API

bfgeek has just created a new issue for 
https://github.com/w3c/css-houdini-drafts:

== [css-paint-api] Add inputArguments to paint API ==
Syntax...
```js
registerPaint('foo', class {
  static get inputArguments() { return [CSSLengthValue, 
CSSKeywordValue]; }

  paint(ctx, geom, styleMap, args) {
    args[0] instanceof CSSLengthValue; // true
    args[1] instanceof CSSKeywordValue;  // true
  }
});
```

Please view or discuss this issue at 
https://github.com/w3c/css-houdini-drafts/issues/219 using your GitHub
 account

Received on Monday, 13 June 2016 22:03:28 UTC