Re: [css-houdini-drafts] [css-paint-api]: APIs not exposed in Worklets

It's _REALLY_ bad form to expose objects but not the constructor for the interface, because then you can't use instanceof or easily reach the prototype object and so forth.

So if you plan to expose the objects at all, you should have the constructor exposed.  The only question is what it does when called.

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

Received on Tuesday, 25 July 2017 13:44:38 UTC