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

Re: [csswg-drafts] CSS Regex Selector

From: Patrick Dark via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 Feb 2017 01:32:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-279579849-1487035955-sysbot+gh@w3.org>
This feature sounds like overkill; if one needs regular expressions to
 match element names, then something would seem to be wrong with the 
design of the language being styled.

In the case of `h1`/`h2`/`h3`/`h4`/`h5`/`h6`, the elements are a 
historical artifact and shouldn't exist and in practice one should 
rarely ever need to use more than `h1` and `h2` given the HTML5 
outline algorithm.

In the case of `ruby`/`rt`, it'd be less verbose to write a selector 
without a regular expression and in practice you won't want to style 
those elements the same anyway.

GitHub Notification of comment by patrickdark
Please view or discuss this issue at 
 using your GitHub account
Received on Tuesday, 14 February 2017 01:32:42 UTC

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