- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Aug 2023 19:30:58 +0000
- To: public-css-archive@w3.org
What I tried to explain above is that I don't see how the proposal actually improves this problem. It seems based on a misunderstanding of how cq units resolve. To be clearer,
```css
@container word-card {
  #target { height: min(100cqw / var(--total-aspect-ratio), 40vh); }
}
```
will resolve the cq units just like just
```css
#target { height: min(100cqw / var(--total-aspect-ratio), 40vh); }
```
Allowing `@container word-card {}` might still be useful to apply styles with the condition that some ancestor has `container-name: word-card`, but won't improve cq units.
-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9192#issuecomment-1679443058 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 15 August 2023 19:31:01 UTC