- From: Una Kravets via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Dec 2021 22:28:04 +0000
- To: public-css-archive@w3.org
una has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-contain-3] Spec syntax for size queries == [Contain level 3](https://drafts.csswg.org/css-contain-3/) adds a `size()` function for querying the parent size. I understand this makes it more explicit when querying something like a `style()`. However, this might be potentially confusing for someone expecting the same experience as `@media`, i.e `@media (min-width 300px)`. Would it be possible to support both syntaxes (`@container (min-width 300px)` *and* `@container size(min-width 300px)`) to reduce developer confusion and possible frustration? If we introduce `size()` for `@container`, we should probably also support `size()` for `@media`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6870 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 8 December 2021 22:28:06 UTC