[csswg-drafts] [css-transforms-2] Potentially invalid syntax for `perspective()` (#7582)

pyoor has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transforms-2] Potentially invalid syntax for `perspective()` ==
The CSS Transforms 2 spec currently defines the `perspective()` function as:  
`perspective( <length [0,∞]> | none )`

In the syntax above, the functional notation accepts one of two arguments (using the single bar operator).  Now, I can't find anything specifically in css-values-5 that forbids this, but I believe that these arguments should be wrapped in a group as in:
`perspective( [ <length [0,∞]> | none ] )`

Could some please provide clarification on if this actually is an issue?

https://github.com/w3c/csswg-drafts/blob/77f40b2fa25dcb36dda6915c3eb2571b57405881/css-transforms-2/Overview.bs#L1003

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7582 using your GitHub account


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

Received on Tuesday, 9 August 2022 03:11:41 UTC