Re: [csswg-drafts] [css-contain-4] Define a range syntax for style container queries (#8376)

> > but also `style(10px < 10em)` which we could disallow if we think it doesn't fit here.
> 
> I don't think there is any reason to disallow this, as this can be a quite common use. Probably not on its own (although, you _could_ want to check the value of `1em`), but when used with mixed custom properties.

Given https://github.com/w3c/csswg-drafts/issues/11104, is it dumb that both `if((10px < 1em):value)` and `if(style(10px < 1em):value)` are allowed?

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


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

Received on Wednesday, 2 April 2025 09:40:48 UTC