Re: [csswg-drafts] [css-contain-3] Inconsistent handling of known and unknown features jeopardizes backward compatibility (#7551)

I agree with @Loirooriol and @fantasai as well. This is option 2 in the original proposal - with the addition of a comma syntax, which would allow the following to match on an inline-size container:

```css
@container (width > 30em), (height > 40em), unknown() { ... }
```

While these fail to match:

```css
@container (width > 30em) or (height > 40em) { ... }
@container (width > 30em) or unknown() { ... }
```

Since those comma-separated queries are allowed to resolve on different containers, I would expect a container-name to be allowed in each query:

```css
@container my-card (width > 30em), my-layout (height > 40em), my-component unknown() { ... }
```

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


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

Received on Friday, 20 January 2023 17:38:10 UTC