Re: [csswg-drafts] [css-conditional][css-values] Allow setting type for style() condition comparisons (#12330)

I don't think this would be needed for ranges. `--foo` in your ranged example would anyway be "coerced" into a `<length>` if it indeed contains something that parses as a length.

Will we ever need to type-ify a literal value without a property to lean on? E.g. `red as <color>` => `rgb(255, 0, 0)`.

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


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

Received on Thursday, 12 June 2025 20:52:35 UTC