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
{{ message }}
Repository navigation
Negative values are serialized with double negative signs #2
I noticed that negative values are re-encoded with double-negative signs, which breaks the bidirectional conversions for full CSS. For example, trying to parse and re-serialize .card { margin: -1rem }:
I think it's because the Number's value is -1.0 and the sign is -, so when the serializer processes it, it outputs both the - string and the - from the negative value.
Hi Kelly, thank you for reporting the issue.
I'll be able to take a look in a few days. If you don’t mind me asking, is this currently blocking you? Asking so I can reprioritise it among my other tasks.
I can work around it while I'm prototyping, and the project isn't my highest priority right now, so no immediate rush. It would be a blocker for the final product if I do end up shipping it though.
Activity
heyvito commentedon Feb 23, 2026
Hi Kelly, thank you for reporting the issue.
I'll be able to take a look in a few days. If you don’t mind me asking, is this currently blocking you? Asking so I can reprioritise it among my other tasks.
ryelle commentedon Feb 25, 2026
I can work around it while I'm prototyping, and the project isn't my highest priority right now, so no immediate rush. It would be a blocker for the final product if I do end up shipping it though.