You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
romainmenke
changed the title
[css-values-5] Adding a way to express which keywords are valid in calculations in syntax definitions
[css-values-5] Express which keywords are valid in calculations in syntax definitions
Jan 15, 2025
Some examples:
Currently there is no way to express in syntax definitions which keywords are valid in which context.
This can only be done in prose.
This would be useful for static analysis tools (i.e. linters)
With the addition of the boolean expression multiplier there is bit of a precedent to define and communicate such things.
Could we use this or something similar for math expressions?
Where
<math-function[ foo ]>
is equivalant tocalc( <calc-sum[ foo ]> ) | min( <calc-sum[ foo ]> ) | ...
The text was updated successfully, but these errors were encountered: