You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
convert from longhand hex to shorthand hex breaks ie dxgradients convert longhand hex to shorthand hex color conversion #aabbcc to #abc breaks DXFilter
#8
Open
shepik opened this issue
Feb 26, 2012
· 3 comments
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6',endColorstr='#ffffff',GradientType=0 )
This line is broken if "ffffff" is replaced by "fff" (and fff is for some strange reason interpreted as #000000, so instead of white you have black)
Affected browsers: ie9, ie8, ie7
The text was updated successfully, but these errors were encountered:
Pull request #14 does actually not fix this, it only applies to gradient-hexes with 8 digits (including alpha channel).
It is perfectly valid to only use 6 digits as well.
Try require('sqwish').minify("body{filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#EEEEEE', EndColorStr='#ffffff');}")) in the current version (4d7eca2) to test it.
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6',endColorstr='#ffffff',GradientType=0 )
This line is broken if "ffffff" is replaced by "fff" (and fff is for some strange reason interpreted as #000000, so instead of white you have black)
Affected browsers: ie9, ie8, ie7
The text was updated successfully, but these errors were encountered: