[css-houdini-drafts] [css-animation-worklet] The steps of registerAnimator mix types in a weird way (#908)

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

== [css-animation-worklet] The steps of registerAnimator mix types in a weird way ==
https://drafts.css-houdini.org/css-animationworklet-1/#dom-animationworkletglobalscope-registeranimator step 5 does:

> If SameValue(prototype, StatelessAnimator) 

where _prototype_ is the `.prototype` property of the constructor that was passed in, and _StatelessAnimator_ is ... what exactly?  It links to the interface definition.  Does it mean the interface object?  The interface prototype object?  Something that has the interface prototype object on its prototype chain (i.e. checking that the passed-in thing is a subclass of `StatelessAnimator`)?  Something else?

I _suspect_ it means the subclass thing, but that's totally not what it says.

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

Received on Thursday, 27 June 2019 00:34:05 UTC