bug: Comma seperated list of precentages is marked as error in @keyframes
#69
Labels
bug
Something isn't working
@keyframes
#69
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.25.1
Describe the bug
Current the grammar expects just one element in keyframe selectors: https://github.com/tree-sitter/tree-sitter-css/blob/master/grammar.js#L89-L92
But in fact its valid to provide multiple values.
Steps To Reproduce/Bad Parse Tree
The grammar produces a error on the following input:
(this syntax can also be seen on the MDN keyframes page https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes#when_properties_are_left_out_of_some_keyframes)
Expected Behavior/Parse Tree
I would expect it to parse correct with the
keyframe_block
containing multipleinteger_value
nodesRepro
The text was updated successfully, but these errors were encountered: