Skip to content

fix(convert-values): exclude linear() from stripping % from value 0#1720

Merged
alexander-akait merged 2 commits intocssnano:masterfrom
cernymatej:patch-1
Aug 22, 2025
Merged

fix(convert-values): exclude linear() from stripping % from value 0#1720
alexander-akait merged 2 commits intocssnano:masterfrom
cernymatej:patch-1

Conversation

@cernymatej
Copy link
Copy Markdown
Contributor

@cernymatej cernymatej commented Aug 20, 2025

fix #1719

This fixes a problem where the % was stripped from 0 values in the linear() function.
I also added a test for it.

@cernymatej cernymatej marked this pull request as ready for review August 21, 2025 21:59
@alexander-akait alexander-akait merged commit 6fc622d into cssnano:master Aug 22, 2025
13 checks passed
@alexander-akait
Copy link
Copy Markdown
Member

@ludofischer Can you do a patch release, thank you

@cernymatej cernymatej deleted the patch-1 branch August 22, 2025 12:44
@ludofischer
Copy link
Copy Markdown
Collaborator

@ludofischer Can you do a patch release, thank you

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: CSS unit stripped after build in thelinear() timing function causes it to break

3 participants