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

Re: [csswg-drafts] [selectors-4]Why "Pseudo-elements cannot be represented by the matches-any pseudo-class"?

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Feb 2018 14:57:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-363794445-1518015443-sysbot+gh@w3.org>
I guess it can be useful in `something#very.long :matches(::before, ::after)`. But these pseudo-elements don't have internal structure and thus can't be followed by a combinator, so maybe a `:matches` that contains such pseudo-elements should neither.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2284#issuecomment-363794445 using your GitHub account
Received on Wednesday, 7 February 2018 14:57:56 UTC

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