Bug Tracker

Modify

Ticket #3316 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

$("<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
Blocking: Blocked by:

Description

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

comment:1 Changed 6 years ago by flesler

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

comment:2 Changed 5 years ago by dmethvin

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

This is fixed in 1.3.

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.