#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)
Change History (7)
comment:1 follow-up: 2 Changed 15 years ago by
Component: | core → fx |
---|---|
Milestone: | 1.2.2 → 1.2.4 |
comment:2 follow-up: 3 Changed 14 years ago by
Changed 14 years ago by
Attachment: | fontsizedemo.html added |
---|
comment:3 Changed 14 years ago by
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 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This seems to be working for me in 1.4.2 with IE8 and IE7. Test case attached.
Changed 12 years ago by
Attachment: | test-2086.html added |
---|
comment:5 Changed 12 years ago by
Also, the original test case (which is more complicated) worked fine with 1.4.2 substituted.
Replying to flesler:
I've attached an example that displays the issue. Just hover on and off the link in IE.