w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
332 stars 56 forks source link

Review request before CR: CSS `selector()` #709

Closed svgeesus closed 2 years ago

svgeesus commented 2 years ago

Braw mornin' TAG!

I'm requesting a TAG review of CSS selector().

CSS @supports enables conditional application of style based on support for properties and property values; this specification adds the missing piece, checking for support of selectors.

Further details:

You should also know that...

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback

LeaVerou commented 2 years ago

We looked at this during a breakout today. We don't see any issues with this feature and are happy for it to move forward.

kirav commented 5 months ago

not sure if anyone will look here, but

@supports not (selector(::-webkit-scrollbar)) {
    scrollbar-color: var(--primary) #fff;
    scrollbar-width: thin;
  }

this code does not compile properly @supports not (selector(::-webkit-scrollbar)) TERM IS EXPECTED :(