W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: George Steel via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Mar 2020 23:22:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-594927607-1583364171-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC