Re: [csswg-drafts] [css-contain] Should there be a new syntax for establishing queryable containers? (#6174)

It might be nice if any shorthand was explicit about the use case that it's solving:

```
contain: query-target;
```

I think I like the HTML option in addition to (but not in place of) a way to set query targets in CSS, though I would strongly prefer an attribute that could go on any element. So `contain="inline|block"` that could go on a `<div>` or an `<article>` or a `<p>` or whatever, but not a whole new `<container>` element that forces you to lose those other semantics and/or wrap things for styling purposes.

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


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

Received on Wednesday, 5 May 2021 05:21:35 UTC