Bug Tracker

Modify

Ticket #5582 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

jquery.is(':attribute') always returns true for attributes it doesn't know about

Reported by: dwt Owned by:
Priority: major Milestone: 1.4
Component: selector Version: 1.4a2
Keywords: Cc:
Blocking: Blocked by:

Description

Which led me to a whild goose bug chase for the last hour.

Here's an example, to see it just run it in any browser with a console object.

Attachments

reduction.html Download (373 bytes) - added by dwt 3 years ago.
showcase of the problem

Change History

Changed 3 years ago by dwt

showcase of the problem

comment:1 Changed 3 years ago by dwt

Ah yes, I was searching so madly, because I hat miswritten :visible as :visble....

comment:2 Changed 3 years ago by dmethvin

So .is(":vsble") can return true, return false, or throw an error. What value/behavior are you proposing? At the moment there are few if any situations where jQuery intentionally throws an error back to the caller.

comment:3 Changed 3 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed
  • Version changed from 1.3.2 to 1.4a2
  • Component changed from unfilled to selector

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.