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

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 23 Feb 2018 23:07:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-368164602-1519427254-sysbot+gh@w3.org>
It's not a valid selector, but it's also a remarkably complex feature for something as limited as "match this family of tagnames".  LIke @tomhodgins says, there's very little call for substring-matching on tagname; insofar as we do want such a thing, prefix/suffix-matching like XPath provides probably provides 90%+ of the desired functionality.

But such a thing wouldn't even work here, because part of the point of a heading-level selector is that it works off of the HTML outline algorithm, not the tagname.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1008#issuecomment-368164602 using your GitHub account
Received on Friday, 23 February 2018 23:07:45 UTC

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