Re: [csswg-drafts] [css-conditional-5] More precisely define the syntax of `scroll-state-feature` (#11127)

In that case the prose could be something like:

> The syntax of a <scroll-state-feature> is the same as for a media feature: a feature name, **optionally followed b**y a comparator, and a value.

I still prefer there to be a syntax definition for `<scroll-state-feature>` and not a more vague reference to another feature.

```
<scroll-state-feature> = [ <scroll-state-feature-plain> | <scroll-state-feature-boolean> ]
<scroll-state-feature-plain> = <scroll-state-feature-name> : <scroll-state-feature-value>
<scroll-state-feature-boolean> = <scroll-state-feature-name>
<scroll-state-feature-name> = <ident>
<scroll-state-feature-value> = <ident>
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 31 October 2024 20:06:39 UTC