mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #248] wrong size in IE #162
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sarathak on GitHub (May 31, 2016).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/248
not scaling correctly on ie
sample screenshot on attachment
@lipis commented on GitHub (May 31, 2016):
which version of IE?
@sarathak commented on GitHub (May 31, 2016):
11.0.96
@labilbe commented on GitHub (Jun 14, 2016):
I can't reproduce on Win10 / IE 11.306.10586.0 and testing with multiple sizes.
@tomlutzenberger commented on GitHub (Jun 14, 2016):
I can reproduce on Win7 / IE 11.0.9600
@lipis commented on GitHub (Jun 14, 2016):
how does it look if you go directly
@tomlutzenberger commented on GitHub (Jun 14, 2016):
Really strange...
On the first link it gets displayed like 1x1, but the black and green area seem to get cropped.
On the second one it's rendered correctly (4x3).
@lipis commented on GitHub (Jun 14, 2016):
Don't we all love the good old IE?
@tomlutzenberger commented on GitHub (Jun 14, 2016):
<sarcasm>Of course we do...</sarcasm>Could it be possible that there's something "wrong" (= IE incompatible) with the HTML or CSS on the project page?
@lipis commented on GitHub (Jun 14, 2016):
of course CSS can help.. but the problem is in how the IE renders the SVG.. I'm using the SVGO to optimize them all and it seems that something might be needed for older IEs to figure out the actual size/ratio of the image.. not sure if it's worth fixing it..
@tomlutzenberger commented on GitHub (Jun 14, 2016):
I tried
max-height: 75%;on.countryandimg.flag.Didn't work.
But the following makes it less worse (only tested in IE11 yet):
You could also try to add
widthandheightto the image tags.http://stackoverflow.com/questions/3396475/specifying-width-and-height-as-percentages-without-skewing-photo-proportions-in
@sarathak commented on GitHub (Jun 14, 2016):
can you open
http://flag-icon-css.lip.is/
with ie
then you can see
@ksymeon commented on GitHub (Sep 18, 2016):
All tests on Windows 10 latest update. From the tests below obviously the SVG file is correct and all browsers can display it properly. Only issue I can see is the way the github page is rendered:
(1):


(2):
@lipis commented on GitHub (Sep 18, 2016):
Thanks @ksymeon!
@sarathak I will close that issue then as it looks like in the latest IE/Edge they are OK..