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

> > The syntax of a `<style-feature>` is either a valid declaration or a supported property name
> 
> This would exclude custom properties, wouldn't it?

You mean the "supported property name" part? Custom property declarations are valid declarations, right?

I would like to avoid is having to parse and store invalid declarations. So where the current spec says that invalid property names and values evaluate to unknown, I'd rather make style() queries with invalid declarations fall back to general-enclosed parsing which would also evaluate to unknown.


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


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

Received on Monday, 24 April 2023 10:10:07 UTC