Re: [csswg-drafts] [css-contain-3] Reference named containers for cq units (#7858)

Agenda+ to see if we can resolve on this. I agree that the ideal is to have:

- Function names matching the unit names we already have, eg `cq*()`
- The functions can be used in `calc()` and return the value of a single unit, eg `calc(10 * cqw(card))`
- From there, it's a bonus if we can also use the functions directly as units, eg `10cqw(card)`

Meanwhile, the plain units without a function argument continue to refer to the nearest available container. 

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


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

Received on Friday, 28 October 2022 19:15:49 UTC