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

> The heading case could be solved with something like https://drafts.csswg.org/css-extensions/#custom-selectors
> 
> The section case could be solved with attribute selectors:
> 
> ```css
> section[id^="card-"] {
>      padding: 10px;
>      border-radius: 10px;
>      background: white;
> }
> ```
> 
> I think RegExp would only add a lot of complexity for everyone.

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-561596861 using your GitHub account

Received on Wednesday, 4 December 2019 11:07:27 UTC