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: Thu, 05 Mar 2020 19:51:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-595415453-1583437906-sysbot+gh@w3.org>
It looks looks there are a lot more places (including all of keyframe parsing) besides parsing easing that uses TypeError for infinite families of values instead of the more specific DOMException error types (SyntaxError, RangeError, etc). I now think that this should make the error for pseudo-element selectors a TypeError for consistency and that changing them to the more specific codes should be for another issue. 

-- 
GitHub Notification of comment by george-steel
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/4829#issuecomment-595415453 using your GitHub account
Received on Thursday, 5 March 2020 19:51:49 UTC

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