#10713 closed bug (duplicate)
Animating a percent value treated as pixel value in 1.7
Reported by: | 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
Change History (3)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Here's a jsFiddle. Try switching between jQuery 1.7 and 1.6.4 http://jsfiddle.net/QjZNS/