Skip to main content

Bug Tracker

Side navigation

#5582 closed bug (fixed)

Opened December 02, 2009 01:14PM UTC

Closed December 20, 2009 06:27AM UTC

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:
Blocked by: Blocking:
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 (1)
  • reduction.html (0.4 KB) - added by dwt December 02, 2009 01:14PM UTC.

    showcase of the problem

Change History (3)

Changed December 02, 2009 01:15PM UTC by dwt comment:1

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

Changed December 03, 2009 01:04AM UTC by dmethvin comment:2

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.

Changed December 20, 2009 06:27AM UTC by john comment:3

component: unfilledselector
resolution: → fixed
status: newclosed
version: 1.3.21.4a2