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

> Or add functional versions of the units: `cqw(<container-name>)`, `cqh(<container-name>)`, etc.

This was my initial thought too, but it feels like it might not be valid syntax? Do we have function calls as units in CSS. Or, is it a proposal?

if the syntax `10cqw(<container-name>)` is valid, then that would be the absolute *best* option!


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


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

Received on Saturday, 15 October 2022 23:30:19 UTC