#21440 closed defect (bug) (fixed)
Twenty Twelve: verify IE7, IE8, and IE9 support
Reported by: | obenland | Owned by: | lancewillett |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description
As the title suggests.
Probably just a few layout tweaks needed.
Attachments (9)
Change History (31)
#2
@
12 years ago
- Milestone changed from Awaiting Review to 3.5
21440.matchMedia.patch is an attempt to fix the JS error due to a missing window.matchMedia()
method. An alternative would be to add something like matchMedia.js.
#3
@
12 years ago
The layout in IE 7 and IE 8 is almost the same (width is shifted to 100% as described in #20198), the only difference is that main menu is broken in IE 7 (21440.ie7.png).
#4
@
12 years ago
It's probably the media queries that are causing this.
An easy way out could be adding another script to the <!--[if lt IE 9]>
conditional, like respond.js.
#5
follow-up:
↓ 6
@
12 years ago
21440.image-unit-test.diff doesn't help with IE8 styling, but makes the IE8 hack address IE8 only. Fixes the 3rd Image Test in Theme Unit Test for all browsers.
Needs testing in IE8!
#6
in reply to:
↑ 5
@
12 years ago
Replying to obenland:
but makes the IE8 hack address IE8 only.
Per @iandstewart, avoiding targeting just IE8 was intentional for Twenty Eleven (ticket:18775:11).
#7
@
12 years ago
- Summary changed from Twenty Twelve: Add IE8 support to Twenty Twelve: verify IE7, IE8, and IE9 support
#8
@
12 years ago
Talking it over with drewstrojny: For IE7 we could just show mobile view, it doesn't need to have media query support.
#11
follow-up:
↓ 12
@
12 years ago
As the widths and floats are declared in a media query IE7 and IE8 didn't haven't the correct layouts. Normally on clients sites I would address this with a JavaScript polyfill however I figured it would be better to address this with classes for Internet Explorer similar to how Twenty Eleven does and I added some IE7 and IE8 CSS conditionals to fix the layout.
I'm open to any suggestions of a better way to do this though :)
#12
in reply to:
↑ 11
@
12 years ago
Replying to sennza:
As the widths and floats are declared in a media query IE7 and IE8 didn't haven't the correct layouts. Normally on clients sites I would address this with a JavaScript polyfill however I figured it would be better to address this with classes for Internet Explorer similar to how Twenty Eleven does and I added some IE7 and IE8 CSS conditionals to fix the layout.
I'm open to any suggestions of a better way to do this though :)
Argh. I didn't realize you uploaded a patch for this before submitting #21489. Very sorry about that.
#13
@
12 years ago
Two solutions seemed to be proposed here: 1) CSS-based adjustments (see @sennza's patch) and 2) media queries for IE7/IE8 (see latest two patches). My preference is for media queries here but would love to here other thoughts on this.
#14
@
12 years ago
With 21440.patch, the layout looks proper in both IE 7 and IE 8 (the menu is still broken in IE 7 though, see 21440.ie7.png).
21440.2.patch adds body background color as well (and fixes tabs vs. spaces).
#15
follow-ups:
↓ 16
↓ 19
@
12 years ago
From chellycat in #21486
Removing width: auto from images, which was causing images resized in the editor to appear full width. The "width: auto" is an IE8 specific fix and should be moved to IE8-specific styles.
See patch on that ticket, would require adding the html element class switch to add .ie8
hooks.
#16
in reply to:
↑ 15
@
12 years ago
Replying to lancewillett:
From chellycat in #21486
Removing width: auto from images, which was causing images resized in the editor to appear full width. The "width: auto" is an IE8 specific fix and should be moved to IE8-specific styles.
See patch on that ticket, would require adding the html element class switch to add
.ie8
hooks.
21440.image-unit-test.diff doesn't. Would be more of a hack though.
#18
@
12 years ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed
In [21482]:
#19
in reply to:
↑ 15
@
12 years ago
- Keywords needs-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened
Replying to lancewillett:
From chellycat in #21486
Removing width: auto from images, which was causing images resized in the editor to appear full width. The "width: auto" is an IE8 specific fix and should be moved to IE8-specific styles.
Not addressed yet. With the conditional .ie
class in place it's a piece of cake.
#20
@
12 years ago
- Keywords has-patch added
21440.image-width.diff Also makes Image Test, page 3, in Theme Unit Test valid
Related: #20198, #20190