Bug Tracker

Opened 11 years ago

Closed 9 years ago

Last modified 7 years ago

#2086 closed bug (worksforme)

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

Reported by: ajma Owned by:
Priority: minor Milestone: 1.2.4
Component: effects Version: 1.2.1
Keywords: animate Cc:
Blocked by: Blocking:

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 (2)

fontsizedemo.html (1.1 KB) - added by eveningsky 10 years ago.
test-2086.html (605 bytes) - added by dmethvin 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by flesler

Component: corefx
Milestone: 1.2.21.2.4

comment:2 in reply to:  1 ; Changed 10 years ago by eveningsky

Replying to flesler:

I've attached an example that displays the issue. Just hover on and off the link in IE.

Changed 10 years ago by eveningsky

Attachment: fontsizedemo.html added

comment:3 in reply to:  2 Changed 10 years ago by eveningsky

Replying to eveningsky:

Replying to flesler:

And its not restricted to ems. I tried changing everything to pixels in the example and it still faltered.

comment:4 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed

This seems to be working for me in 1.4.2 with IE8 and IE7. Test case attached.

Changed 9 years ago by dmethvin

Attachment: test-2086.html added

comment:5 Changed 9 years ago by dmethvin

Also, the original test case (which is more complicated) worked fine with 1.4.2 substituted.

Note: See TracTickets for help on using tickets.