Search and Top Navigation
#4780 closed bug (fixed)
Opened August 13, 2009 06:34PM UTC
Closed July 13, 2010 12:40PM UTC
Accordion: text doesn't wrap around a floated linked image in IE
Reported by: | rdworth | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8.2 |
Component: | ui.accordion | Version: | 1.7.2 |
Keywords: | accordion zoom float img IE text wrap | Cc: | |
Blocked by: | Blocking: |
Description
In IE, if you have an IMG with float:left inside an A inside an accordion content, text will not wrap around the right of the image as it would when not in an accordion, and there will be whitespace instead. This is caused by the following code, in ui.accordion.js:
// IE7-/Win - Extra vertical space in lists fixed if ($.browser.msie) { this.element.find('a').css('zoom', '1'); }
Requires the following work-around:
$('.ui-accordion-content a:has(img)').css('zoom', '');
Perhaps this code is no longer needed, with the fix in #4444 ?
Need to test what that zoom-workaround was supposed to fix, and if that is actually covered by the fix for #4444.