Hi all,

The YUI compressor will break your CSS rules for animations and transform when using 0 value.

Please note that this is not a direct Advagg issue, the bug has been reported on the Github project: https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/issues/7

So once the issue is fixed on the YUI-CSS-compressor-PHP-port side, advagg should upgrade this library :-)

Cheers,
Jérémy

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jchatard’s picture

I've created a pull request for a fix on Github.

https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/pull/8

mikeytown2’s picture

Status: Active » Fixed
FileSize
724 bytes

I'll go ahead and commit that change here. Attached patch has been committed. Thanks for the bug report + fix :)

jchatard’s picture

Status: Fixed » Needs work

New release of YUI-CSS-compressor-PHP-port contains the fix among other coding style fixes:

- https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/releases/tag/...

Maybe it's better to keep the official source code from the maintainer.

mikeytown2’s picture

Status: Needs work » Fixed

Merged in the latest changes. I can't copy directly due to the windows bug not getting fixed.
https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/issues/4

mikeytown2’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.