Bug Tracker

Opened 9 years ago

Closed 8 years ago

#3316 closed bug (fixed)

$("<tr>").is("a bug") may not return true

Reported by: ghum Owned by: flesler
Priority: minor Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: .is( selector Cc: ghum, flesler
Blocked by: Blocking:


using space seperated selector-Strings with $(element).is("<sometag><space><somestring>") allways returns true. $("<td/>").is("tr label") -> true $("<td/>").is("a badjoke") -> true

  • either anchestor-selectors should be properly supported
  • or raise an exception
  • or return undefined ...

returning true is really not good

Change History (2)

comment:1 Changed 9 years ago by flesler

  • Cc ghum flesler added
  • Component changed from core to selector
  • need changed from Review to Patch
  • Owner set to flesler
  • Status changed from new to assigned

comment:2 Changed 8 years ago by dmethvin

  • Resolution set to fixed
  • Status changed from assigned to closed

This is fixed in 1.3.

Note: See TracTickets for help on using tickets.