W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

[csswg-drafts] [css-pseudo-4] Should Element.pseudo("unknown") be an error or return null? (#3603)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Sat, 02 Feb 2019 04:24:54 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-405946493-1549081493-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo-4] Should Element.pseudo("unknown") be an error or return null? ==
We resolved to have an Element.pseudo(type) interface that returns a CSSPseudoElement. What happens if someone passes a type that isn't known to the implementation? Do we treat it as non-existent or do we throw an error?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3603 using your GitHub account
Received on Saturday, 2 February 2019 04:24:55 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:57 UTC