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

Some SVGs missing viewbox attribute #11

Open
dougaxe1 opened this issue Jan 26, 2017 · 0 comments
Open

Some SVGs missing viewbox attribute #11

dougaxe1 opened this issue Jan 26, 2017 · 0 comments

Comments

@dougaxe1
Copy link

For example: https://github.com/seanherron/Flag-Webicons/blob/master/flags/afghanistan.svg

Embedding these in an <img> tag in Internet Explorer (tested IE11) fails to scale. For instance, the above SVG when rendered in <img width="50"> shows nothing but black (the top left of the SVG). SVGs with viewbox attribute scale appropriately.

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

1 participant