-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Exception thrown on float duration values #76
Comments
Ah, |
Basically MDN provides examples with negative values, so might be useful to take that into consideration as well |
Any time sheet when this issue will be fixed? |
@radeno that's probably what needs to be updated, and tests will need to be added as well. I would happily review a pull request for this. |
I'd be happy to give this a try. Would it bu useful to append something like this to the test array and expand the regex until it doesn't fail?
|
@bartveneman i tried to add angle values, but when 90deg was set then test fails. I don't have time to dig deeper. But time values support waits in PR. |
Ah, sorry, I missed that reference above 😬 |
@shellscape Should this be closed? (by #87) |
Indeed it should. Thanks for the heads up @glen-84 ! |
How Do We Reproduce?
Link to repl.it: https://repl.it/@bartveneman/postcss-values-parser-302-duration-errors
Expected Behavior
parse('.7s')
does not throw on time values that are floatsActual Behavior
parse('.7s')
throws<css input>:1:1: Unknown word
The text was updated successfully, but these errors were encountered: