yui / yuicompressor

YUI Compressor
http://yui.github.com/yuicompressor/
Other
3.01k stars 664 forks source link

trasform-origin: 0 0 incorrectly become transform-origin: 0 #273

Open dpierangeli opened 7 years ago

dpierangeli commented 7 years ago

I saw an issue where we had a CSS rule similar to this:

div { transform-origin: 0% 0%; } And it was getting rewritten to this (I added the spacing back in):

div { transform-origin: 0; } Which actually has a different meaning (is the same value as transform-origin: 0% 50%;)

timabbott commented 7 years ago

Seems related to #91.

dpierangeli commented 7 years ago

Yes, seems the same case.

dpierangeli commented 7 years ago

using "transform-origin: left 0%;" is a workaround for this problem.