Re: [csswg-drafts] [css-env] Consider value-level parsing like calc() rather than token-level like var() (#3285)

  > A built-in `env()` is typed to one of the `attr()` types, according to the name given to it, so you can type-check at parse time.

Should it still be assumed to be valid at parse time? If yes, I do not get the reason for type checking. It is required for `attr()` mainly required for back compat with untyped `attr()`, if I am not mistaken. And a valid type does not always mean a valid value in the context.

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


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

Received on Thursday, 2 May 2024 06:23:34 UTC