Side navigation
#10713 closed bug (duplicate)
Opened November 08, 2011 06:25AM UTC
Closed November 08, 2011 02:12PM UTC
Last modified November 08, 2011 02:12PM UTC
Animating a percent value treated as pixel value in 1.7
Reported by: | andy@fordinteractive.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Upgrading from jQuery 1.6.4 to 1.7 broke ability to animate using a percentage width. Percentages seem to be treated as pixels.
$('#some-selector').animate({'width': '100%'}, 250);
Tested with jQuery 1.6.4 and 1.7 on Firefox/Mac and Safari/Mac
Here's a jsFiddle. Try switching between jQuery 1.7 and 1.6.4 http://jsfiddle.net/QjZNS/