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

Re: [csswg-drafts] [css-selectors] Selectors for “text-ish” and “button-ish” inputs

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Sun, 11 Feb 2018 19:14:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-364778772-1518376467-sysbot+gh@w3.org>
Given that we are already seeing some debate about what the appropriate groupings would be, I'm tempted to argue that the most practical approach would be to make it easier for authors to define custom selector lists.

Yes, it still means you have to write out that long selector list at least once. But then it can be re-used many times in a project.  And it can be re-used in many projects, by `@import`-ing the definitions file, or including it with a preprocessor.

In https://github.com/w3c/csswg-drafts/issues/2298#issuecomment-364778609, I give a proposal for a syntax defined as an extension of `:matches()`, with example code based on this issue discussion.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2296#issuecomment-364778772 using your GitHub account
Received on Sunday, 11 February 2018 19:14:35 UTC

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