Re: [csswg-drafts] [css-contain-4] Define a range syntax for style container queries (#8376)

> I think it makes sense to require these properties to be registered as `<integer>`, `<number>`, `<length>`, `<percentage>`, or `<length-percentage>` (am I forgetting anything?)

`<angle>`, `<frequency>`, `<time>` and their `<*-percentage>` counter-parts, `<ratio>` and maybe some more.

> For syntax, we can just adopt the MQ operators.

I assume that includes the full range syntax, so one could write

```css
@container style(1em < padding < 3em) { … }
```

Correct?

Sebastian

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


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

Received on Monday, 30 January 2023 20:35:57 UTC