Re: [csswg-drafts] [css-conditional] [css-contain] "container width" and "container height" units (#5888)

For that kind of fallback, just make it possible to query for a given container type?

```CSS
p { padding: 1em; }

@container (inline-size) {
   p { padding: 10cw; }
}
```

> custom-property territory

I don't think we're _automatically_ in custom-property territory here, we should first try to be in `em`-territory (which is also resolved computed value time).

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


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

Received on Tuesday, 8 June 2021 09:14:54 UTC