Re: [csswg-drafts] [css-values] nested `calc()` is not defined by its grammar (#6506)

> This would seem to declare `<string>` to only be string literals.

That's not intended, it's just not using the parallel better text from the number section. `<string>` is a generic production that can be literals or other functional values that return strings.

> I'm not very used to reading technical specs and english is not my native language, so please take it as my very humble opinion: isn't attr() defined as a type that can replace a property value when a <string> is expected, ie. it can not replace a function argument that expects a <string>?

Nope, it's just a value that represents a `<string>`, so it can be used anywhere a `<string>` can be used, such as in a function argument.

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


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

Received on Wednesday, 8 September 2021 21:23:37 UTC