We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly, thanks for writing this parser! We use it extensively in stylelint and its been rock solid so far.
We use valueParser.unit(quantity) in our unit-no-unknown rule.
valueParser.unit(quantity)
unit-no-unknown
An issue, stylelint/stylelint#3537, was raised about support for scientific numbers (e.g. 4e2px) as covered in the specs.
4e2px
Reproduce with:
var postcssValueParser = require("postcss-value-parser"); postcssValueParser.unit("1e5px")
Expected:
{ number: "1e5", unit: "px" }
Got:
{ number: "1", unit: "e5px" }
Is this something you'll be willing to support in this value parser?
The text was updated successfully, but these errors were encountered:
@jeddy3 hi, I'm not actively working on this project. I can accept PR with the fix.
Sorry, something went wrong.
support scientific notation in number values
0a463fa
Fixes TrySound#37
No branches or pull requests
Firstly, thanks for writing this parser! We use it extensively in stylelint and its been rock solid so far.
We use
valueParser.unit(quantity)
in ourunit-no-unknown
rule.An issue, stylelint/stylelint#3537, was raised about support for scientific numbers (e.g.
4e2px
) as covered in the specs.Reproduce with:
Expected:
Got:
Expected:
Is this something you'll be willing to support in this value parser?
The text was updated successfully, but these errors were encountered: