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

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Mar 2019 15:19:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-477641025-1553786346-sysbot+gh@w3.org>
Accepting "identifiers" would mean that `\42 efore` would work too. ^_^ Presume you mean literal matches against a defined list of strings, tho.

Having to later map pseudo-element arguments into JS arguments really makes it feel like this is trying to draw a distinction that's not worth it? Like, I'm mostly for not invoking the CSS parser when not necessary, but it seems like it'll actually get some use here.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3603#issuecomment-477641025 using your GitHub account
Received on Thursday, 28 March 2019 15:19:09 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:45 UTC