Bug Tracker

Ticket #2086 (new bug)

Opened 10 months ago

Last modified 5 months ago

Animate Method is buggy when changing font size with em units (IE bug only)

Reported by: ajma Assigned to: anonymous
Type: bug Priority: minor
Milestone: 1.2.4 Component: fx
Version: 1.2.1 Keywords: animate
Cc: Needs: Review

Description

I have a chunk of code that animates fontsize changes with the units set to em. The animation is a bit wacky. The text is supposed to get larger, but it gets smaller then grows larger.

<style> #test {

font-size:1.2em;

} </style> <div id="test" href="http://www.google.com">Test</div> <script type="text/javascript"> $('#test').mouseover(function() {

$('#test').animate({fontSize:'1.8em'},200);

});

$('#test').mouseout(function() {

$('#test').animate({fontSize:'1.2em'},200);

}); </script>

Attachments

Change History

Changed 5 months ago by flesler

  • owner deleted
  • component changed from core to fx
  • milestone changed from 1.2.2 to 1.2.4
Note: See TracTickets for help on using tickets.