Skip to main content

Search and Top Navigation

#5808 closed bug (notabug)

Opened July 07, 2010 08:37PM UTC

Closed July 16, 2010 01:39PM UTC

Last modified October 11, 2012 09:15PM UTC

IE6: New class styles not applied with switchClass and addClass

Reported by: lduros Owned by:
Priority: major Milestone:
Component: ui.effects.core Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

$(elem).switchClass('oldclass', 'newclass', 100); does not apply the new styles to the element when viewing page on Internet Explorer 6:

http://jtester.webfreehosting.net/test/test.html

See example above. The original class has a margin-left of 10px, and the class applied has a margin-left of 800px. While it will work on all browsers, it does not on IE6. At the end of the animation, in IE6, the margin-left is set as "auto". As a result, the element does not move or change.

Attachments (0)
Change History (2)

Changed July 16, 2010 01:39PM UTC by scottgonzalez comment:1

component: ui.coreeffects.core
resolution: → invalid
status: newclosed

IE6 doesn't understand chained CSS rules, so it doesn't see your rule defined with #myDiv.right.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted