Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Whitespace problem on filter:progid:DXImageTransform.Microsoft.Matrix #64

tinyhill opened this Issue · 8 comments

3 participants


Considering following code:

.diamond {
  filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865475, M12=-0.7071067811865477, M21=0.7071067811865477, M22=0.7071067811865475, SizingMethod='auto expand');

The compressed result:

.diamond{filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865475,M12=-0.7071067811865477,M21=0.7071067811865477,M22=0.7071067811865475,SizingMethod='auto expand');}

This will not work in ie6, ie7 or other ie related browsers. Here's an article about this problem:

@tml tml was assigned

@tinyhill I'd love to see a test-case for this if you have time to write one.


Please fix it or provide instructions how we can fix it on our way.


@khaliy If you would be willing to fork the repo and submit a pull request with a test case that documents the problem and the correct fix, I'll gladly take a look at it. Unfortunately, this 'filter' property was never part of any CSS specification, and isn't even supported in IE anymore - Microsoft deprecated its use as of IE9, see I'd be happy to fix the problem, but someone who understands what is and is not allowed for this outdated vendor-specific extension to CSS would need to help in that effort. :+1:


@tml I would make a try, unfortunately there are such cases when we have to use vendor specific rules and IE7 should also be supported.


@khaliy I agree, it'd be nice if we could support this. I eagerly await your pul request, and thanks!


@tml could you check my request please?


I have proposed acceptance of the patch to the Google Group at!topic/yuicompressor/i1D5fyIT_zg - we use a lazy consensus model, so if no one objects, I'll merge it (probably Monday morning) - thanks for putting the patch together!


@tml Thanks and let me know if you find any code review items

@leightonshank leightonshank referenced this issue from a commit in getloaded/yuicompressor-src
@khaliy khaliy yui/yuicompressor#64
Fix IE7 issue on matrix filters which browser accept whitespaces between Matrix parameters,
also fixing preserveTokens logic as it should happen in reverse order
@tml tml was unassigned by jlecomte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.