[css-houdini-drafts] registerPaint() behavior is unclear

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

== registerPaint() behavior is unclear ==
>From @bzbarsky: "registerPaint adds things to a map on the document. 
But registerPaint is expected to be called once per worklet.  So once 
you have more than one worklet, you will have multiple entries in the 
document's map with the same key. I have no idea what they expect to 
happen in this case, especially when the values are different. I 
_think_ they wanted to have a check for this, but since this spec is 
pretty undecided about which object the "paint name to paint image 
definition map" lives (WorkletGlobalScope, or document), in practice 
their checks fail."

It also seems to me that this crosses the thread boundary that's 
supposed to exist.

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

Received on Wednesday, 22 June 2016 13:26:04 UTC