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
I chose to highlight dppx here because it's a specified unit, but this will reproduce with any unit string postcss-values-parser doesn't explicitly recognize. I would more broadly expect anything matching <dimension-token> to parse as a Numeric, even if its unit isn't specified yet. This is more future-proof as the specification evolves, and more friendly to postprocessors that may define their own custom units.
Actual Behavior
It throws a CssSyntaxError.
The text was updated successfully, but these errors were encountered:
How Do We Reproduce?
https://runkit.com/nex3/5e446258c092240013ead2f1
Expected Behavior
I expect this to parse as a
Numeric
.I chose to highlight
dppx
here because it's a specified unit, but this will reproduce with any unit string postcss-values-parser doesn't explicitly recognize. I would more broadly expect anything matching<dimension-token>
to parse as aNumeric
, even if its unit isn't specified yet. This is more future-proof as the specification evolves, and more friendly to postprocessors that may define their own custom units.Actual Behavior
It throws a
CssSyntaxError
.The text was updated successfully, but these errors were encountered: