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

[reopen] android with version 4.1 is not working with unquoted data URI of Base64 format #504

Closed
hansenyang opened this issue Mar 20, 2015 · 4 comments

Comments

@hansenyang
Copy link

android with version 4.1 is not working with unquoted data URI of Base64 format, not sure other versions under 4.4 is working or not

reproduced on Samsung, XiaoMi

as example below:

background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAmCAMAAACWCLnmAAAAOVBMVEUAAAAzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzNDquetAAAAEnRSTlMA779qDOCL+dJ+ILZRRDQtzqHzkjBoAAAAnElEQVQ4y+2Pyw7CIBBFL5RHoQ/1/v/HytCJNpiULowbexZkcjhtGJznNqwdMZAc9mJuBUwxZi/uRXjsoeCab6hztnK5JSOVUZOpjCtsvRQT4an4OhrYmkdRSypHcHyR5f3Jbf+qZsISZoR38sCSZiRqIgQniyuNgCpjPZVWgB1OJzjg2wkLn+fPkmujv9zoMInsEDH1EotsO0V+Al9EL1fYczhMAAAAAElFTkSuQmCC");

would output with " quotes be removed

keep it as it is would work well

@jakubpawlowicz
Copy link
Collaborator

Can anyone with Android 4.x confirm it?

@XhmikosR
Copy link
Contributor

XhmikosR commented Apr 7, 2015

Well, Android 4.1 is pretty old now. And the whole Google's idea is to untie the browser from the OS, that is why they ship Chrome.

Now, you could add a new compatibility switch for Android 4.1 to not remove quotes... Not sure if it's worth doing so though.

@jakubpawlowicz
Copy link
Collaborator

@hansenyang
Copy link
Author

Very nice, very appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants