Opened 11 years ago
Closed 11 years ago
#23996 closed defect (bug) (fixed)
Twenty Thirteen: Gallery Captions display incorrectly in IE 8
Reported by: | celloexpressions | Owned by: | lancewillett |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The captions are always displayed over the images, with white text but no background. See screenshot.
Note: emulating IE 8 with IE 10
Attachments (7)
Change History (24)
#1
@
11 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 3.6
Reproduced on IE8 under Windows 7. The gallery is not displayed at all on a singular page, unless IE is switched to Compatibility View.
#2
@
11 years ago
- Keywords has-patch added; needs-patch removed
IE8 does not support CSS3 transitions or transparent backgrounds. We could provide a fallback with a solid color, but this might make it worse than it is now. I'd prefer to leave it as is, it's an old browser.
I added a fix for the non-displaying galleries.
#4
@
11 years ago
Replying to obenland: I think a fallback solid color is better, because it at least ensures that the text is readable. Think the white captions applied to something on a white background, like the bottom-left example in the attached screenshot.
#7
@
11 years ago
Solid background would be fine. If you're willing to use filter: alpha(opacity=x), that would allow it to only display on hover (set to 0 on .gallery-caption
, maybe 80 on .gallery-item:hover .gallery-caption
), in which case the solid background is no problem (and the whole caption+background would be slightly transparent if using less than 100).
The two issues here for 8 are really just opacity and using rgba, 9 also doesn't get the transition (10 does), but that's just extra.
#8
@
11 years ago
Unfortunately [23943] didn't do the trick for IE8. Here's what I see: http://cl.ly/image/1j2y1q463C2j
23996.2.diff attempts to fix the gallery display in non-compat mode and adds a semi-transparent background. I also noticed that the ie.css stylesheet is not loaded at all during Compatibility View.
#10
follow-up:
↓ 11
@
11 years ago
23996.3.diff adjusts to fix captions for both IE7 and IE8, as well as only displaying them on image hover (as is the behavior in other browsers). Sorry, it's my first patch so I probably didn't do it quite right but it should work against what's in core now (in the future, should the patch require applying previous patches first or work against core, and what if a patch has already been committed as in this case?).
I can confirm that the single view galleries still don't work (note: there is another bug in the emulator that makes it look fine if you're using IE10 as 8), although I think that's a separate issue, should it move to a separate ticket?
#11
in reply to:
↑ 10
@
11 years ago
Replying to celloexpressions:
(in the future, should the patch require applying previous patches first or work against core, and what if a patch has already been committed as in this case?).
Patches should be made against current trunk, without requiring previous ones. 23996.3.diff seems correct in that regard.
#12
@
11 years ago
- Keywords commit added
Patch looks really good. Nice job kovshenin and celloexpressions!
#13
@
11 years ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed
In 23959:
#14
@
11 years ago
- Keywords commit removed
- Resolution fixed deleted
- Status changed from closed to reopened
Sorry to be such a pain, but [23959] is not doing it either. Since .3 dropped the .ie8
part, the .gallery-item
selector is not specific enough and is being overridden by .gallery-columns-* .gallery-item
selectors in the main stylesheet, at least for IE8. 23996.4.diff should hopefully fix that.
I'm using IE 8.0.7601.17514 running Windows 7.
Screenshot of gallery with captions in IE8 (on index.php page)