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

You suspicion is correct. The intention was to verify "subclassing". I had trouble writing the spec text to do this correctly even after looking and other specs that meant to do similar thing. I have captured the difficulty in issue #850 and the fact that our current approach for using `IsSameValue` is incorrect.

In the most recent Houdini F2F heycam@ suggested a [way](https://tc39.es/ecma262/#sec-ordinaryhasinstance) we can spec this. But more importantly we  [resolved](https://github.com/w3c/css-houdini-drafts/issues/850#issuecomment-499964845) to drop these two superclasses anyways so we don't need to check the inheritance chain.  

I have not made the changes to the specification yet but Blink implementation does match the most recent resolution (i.e., do not check the superclass). I will edit the spec based on most recent resolution which should also bring Blink implementation  in line with the specification.




 


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

Received on Thursday, 27 June 2019 17:46:37 UTC