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

Re: [csswg-drafts] CSS pseudo-selector for h1-h6?

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Feb 2017 07:16:15 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-277919841-1486451773-sysbot+gh@w3.org>
There is the CSS Custom Selectors 
[proposal](https://drafts.csswg.org/css-extensions/#custom-selectors) 
(it even has its [PostCSS 
plugin](https://github.com/postcss/postcss-custom-selectors)) which 
would solve this exact issue and much more. But doesn't `:matches(h1, 
h2, h3)` from Selectors level 4 already solve the main problem here 
(code duplication)?

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1008#issuecomment-277919841
 using your GitHub account
Received on Tuesday, 7 February 2017 07:16:22 UTC

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