Skip to main content

Search and Top Navigation

#7177 closed bug (worksforme)

Opened March 21, 2011 09:37PM UTC

Closed March 22, 2011 01:00PM UTC

Accordion auto-height problems with margins and borders

Reported by: claar Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.accordion Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:
Description

See this jsFiddle: http://jsfiddle.net/pRzv9/1/ which adds margins and borders to simple header and content elements, and calls accordion().

Accordion acts perfectly with padding, but the latest versions still do not properly handle margins on the header or content elements.

Expected result: Accordion outer element stays the same size when clicking on each header

Observed result in FF/Chrome/IE9: Accordion outer element is larger during the animation, then (usually) shrinks back to the original size after the animation is finished.

#4436 and others claim to resolve these issues, but do not fix the above test page for margins and borders.

Attachments (0)
Change History (1)

Changed March 22, 2011 01:00PM UTC by scottgonzalez comment:1

resolution: → worksforme
status: newclosed

This works fine for me when I include a theme. The widget-specific CSS files are required. http://jsfiddle.net/pRzv9/2/