Re: [csswg-drafts] [css-fonts-4][css-nesting] Nesting of @supports inside @font-face (#6520)

> Oh wait
> 
> > The declaration being tested must always occur within parentheses, when it is the only thing in the expression. [source](https://drafts.csswg.org/css-conditional-3/#at-supports)
> 
> So that is like
> 
> ```css
> @supports  (font-technology(color(COLRv0))) {
>    and so on
> ```

This applies to declaration tests, not `selector()` or `font-technology()` queries.

Nitpick, I don’t think we need nested function calls, not to mention `color()` might look confusing because of the other `color()` function. We could just prefix keywords with `color-` and `feature-`, which avoids the multiple nested parens.

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


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

Received on Tuesday, 24 August 2021 14:41:39 UTC