summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreaskohlbecker2015-10-05 09:29:39 (GMT)
committerJohnAlbin2015-10-05 09:42:17 (GMT)
commitd33c4b26cd411a558a7d472970352b3288a3b285 (patch)
tree05b987836e64534e6955cfceb556c19fcf73da00
parent0884629dfc3063e8a667b171dda5f50106de1a2e (diff)
Issue #2120355 by Andreas Kohlbecker and JohnAlbin: Images width auto for IE8 cause images to ignore width and height put in markup
-rw-r--r--STARTERKIT/sass/_normalize.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/STARTERKIT/sass/_normalize.scss b/STARTERKIT/sass/_normalize.scss
index d3f8169..5f9db25 100644
--- a/STARTERKIT/sass/_normalize.scss
+++ b/STARTERKIT/sass/_normalize.scss
@@ -353,8 +353,10 @@ img {
max-width: 100%;
height: auto;
@if $legacy-support-for-ie8 {
- /* Correct IE 8 not scaling image height when resized. */
- width: auto;
+ .lt-ie9 & {
+ /* Correct IE 8 not scaling image height when resized. */
+ width: auto;
+ }
}
}