Bug Tracker

Modify

Ticket #4909 (closed bug: worksforme)

Opened 4 years ago

Last modified 3 years ago

$('<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

comment:1 Changed 3 years ago by addyosmani

  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.