Modify ↓
Ticket #5600 (closed bug: fixed)
Width returns null
| Reported by: | MelTraX | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | dimensions | Version: | 1.4a1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In Firefox 3.5.5 executing "$('empty').width(10);" returns null.
It should return the empty result result set returned by "$('empty');" as it does in the stable version.
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.

Looking at the code it's so obvious that it's probably deliberate (lines 5470, 5471). I don't understand though because it breaks chaining and probably a lot of existing code.