Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer cards are all blank in FireFox browser #160

Closed
fangpenlin opened this issue Jan 30, 2014 · 2 comments
Closed

Customer cards are all blank in FireFox browser #160

fangpenlin opened this issue Jan 30, 2014 · 2 comments
Labels

Comments

@fangpenlin
Copy link
Contributor

blank_customer_card_bug

It seems somehow, the filter we are using for customer card makes them blank in FireFox browser:

filter: url("data:image/svg+xml;utf8,<svgxmlns=\'http://www.w3.org/2000/svg\'><filterid=\'grayscale\'><feColorMatrixtype=\'matrix\'values=\'0.33330.33330.3333000.33330.33330.3333000.33330.33330.33330000010\'/></filter></svg>#grayscale")

If I disable this style, it can then be displayed without a problem.

blank_customer_card_bug2

mjallday added a commit that referenced this issue Feb 3, 2014
…in-ff

Fix #160 balnk customer card in FireFox issue
@fangpenlin
Copy link
Contributor Author

This is still not working, it appears the YUI Compressor remove spaces in that data URI, which makes it a malformed data image

filter: url("data:image/svg+xml;utf8,<svgxmlns=\"http://www.w3.org/2000/svg\"><filterid=\"grayscale\"><feColorMatrixtype=\"matrix\"values=\"0.33330.33330.3333000.33330.33330.3333000.33330.33330.33330000010\"/></filter></svg>#grayscale");

As you can see all spaces between tag name and attribute are gone.

@fangpenlin fangpenlin reopened this Feb 4, 2014
@fangpenlin
Copy link
Contributor Author

Found the root of this issue jbleuzen/node-cssmin#11

mjallday added a commit that referenced this issue Feb 4, 2014
…in-ff

Fix #160, space in filter url is removed issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant