Modify ↓
Ticket #4909 (closed bug: worksforme)
$('<input />') is no longer :visible
| Reported by: | visionmedia | Owned by: | john |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | selector | Version: | 1.3.2 |
| Keywords: | hidden visible | Cc: | |
| Blocking: | Blocked by: |
Description
Myself and many others were using this 'feature' to test visibility within unit tests.. however in 1.3.1 this works, and in 1.3.2 it does not
here is the example JSpec suite http://gist.github.com/147831
$('<input />').is(':hidden') is no longer true
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.

If you use jQuery 1.4.3 and run your minimal test with it, you'll find that this is working fine now Live Test Case