Re: [csswg-drafts] [css-contain] Allow container query style features to evaluate in a boolean? (#8127)

> > I'm not able to understand what you're trying to say here.
> 
> Oh, sorry.
> 
> `<supports-decl>`, which is defined with `( <declaration> )`, evaluates to true if _the CSS processor accepts that declaration within a style rule_ (the borrowed part). I suggested that _`<style-feature>` evaluates to true if the CSS processor accepts that property (`<ident>`) within a style rule_, because I knew that _supported CSS property_ excludes custom properties.
> 
> In the next part of my comment (which I should have split), I say that I would have no problem if `<supports-decl>` were defined to evaluate to true if the result from parsing `<declaration>` represents a declaration that the CSS processor accepts within a style rule. (I think that is what you want, if I understood correctly.)

Thanks for the clarifications.

I have a PR here: https://github.com/w3c/csswg-drafts/pull/8756

It doesn't express it the way you suggest, but should mean the same. We can continue further discussions there. Added you as a reviewer in case you want to take a look.


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


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

Received on Wednesday, 3 May 2023 10:46:20 UTC