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

Visit on Github.

Opened Jan 15, 2022

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:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines: We are hoping to move this small specification to CR very soon
  • The group where the work on this specification is currently being done: CSSWG
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): CSSWG
  • Major unresolved issues with or opposition to this specification: None
  • This work is being funded by: n/a

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

Discussions

Discussed Feb 7, 2022 (See Github)

Reviewed, non-controvertial, closed satisfied.

Comment by @LeaVerou Feb 8, 2022 (See Github)

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.

Comment by @kirav May 20, 2024 (See Github)

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 :(