Re: [csswg-drafts] [web-animations-1] Fix invalid error code for KeyfameEffect.pseudoElement (#4829)

There's definitely a case for a JS TypeError. Are there any other examples of it being used for an invalid value outside an infinite family of strings (SyntaxError seems to be used here a lot), or just for values outside finite enums? `pseudoElement` can take any syntactically valid pseudo-element selector (such as `::foo`) whether the selector is supported or not.

-- 
GitHub Notification of comment by george-steel
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/4829#issuecomment-594927607 using your GitHub account

Received on Wednesday, 4 March 2020 23:22:55 UTC