Re: [csswg-drafts] [css-syntax-3] Restrict validity of substitution values and math functions (#8717)

> Substitution values (attr(), mix(), random-*(), toggle()) and math functions may have to be restricted here.

All of the "substitution values" are invalid by virtue of only being defined in the context of a property on an element.

Math functions are resolveable anywhere, tho. If we don't want to allow them, that's possible, we just need to define the rule grammar accordingly, for example to use `<percentage-token>` rather than `<percentage>`.

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


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

Received on Friday, 14 April 2023 20:51:11 UTC