matthiasmullie / minify

CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.
https://matthiasmullie.github.io/minify/
MIT License
1.96k stars 310 forks source link

Invalid max syntax on output #406

Open Digitalone1 opened 1 year ago

Digitalone1 commented 1 year ago

Hello. I tested on the website and noticed the following rule:

left: max(calc(50vw - (1000px / 2)), 0px);

Gets converted in

left:max(calc(50vw - (1000px / 2)),0);

Which is an error and cannot be read by browsers (both Firefox and Chrome).