Closed (fixed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
CSS/SASS/HTML markup
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2012 at 10:26 UTC
Updated:
27 Dec 2012 at 07:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
echoz commentedYep, this is an ie8 only bug (not in 7) when the img element has a max-width set, the height doesn’t scale down when resized. Setting width: auto; does fix it (and apparently so does removing img height + width attributes via js, which is contrary to a D7.9 update that "restored height/width attributes on images").
I didn't find this fix in many of the common responsive frameworks I assume, because IE 8 is not made responsive, however, it does fix another bug with almost identical conditions - Using max-width on images can make them disappear in IE8.
I would rather feed IE8 a desktop layout #1539682: Turn off Respond.js by default, use .lt-ie9 rules for IE8 layouts, where it wouldn't be responsive, but this would support that choice, or flexible columns within a desktop layout.
At any rate, I'm open to a "won't fix", and Jamie, certainly this is your custom fix.
Comment #2
nodecode commentedI can confirm that this patch fixes the issue for me in ie8. Thanks a lot!
-EDIT-
However, I agree that there appear to be more serious issues with zen 7.x-5.x responsive layouts and ie8 that go well beyond this bug.
Comment #3
echoz commentedRe-rolled against current dev.
Comment #4
echoz commentedCommitted in http://drupalcode.org/project/zen.git/commit/53008ce, thanks Jamie!