Re: [csswg-drafts] CSS Regex Selector (#1010)

> 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.

Have you ever written automated tests? Not always see the problems from your point of view.

-- 
GitHub Notification of comment by AndreasKarz
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1010#issuecomment-561596627 using your GitHub account

Received on Wednesday, 4 December 2019 11:06:41 UTC