Modify ↓
Ticket #10713 (closed bug: duplicate)
Animating a percent value treated as pixel value in 1.7
| Reported by: | andy@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
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/