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

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