Skip to main content

Bug Tracker

Side navigation

#3316 closed bug (fixed)

Opened September 02, 2008 10:03AM UTC

Closed February 07, 2009 03:12AM UTC

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

Attachments (0)
Change History (2)

Changed September 02, 2008 05:47PM UTC by flesler comment:1

cc: → ghum, flesler
component: coreselector
need: ReviewPatch
owner: → flesler
status: newassigned

Changed February 07, 2009 03:12AM UTC by dmethvin comment:2

resolution: → fixed
status: assignedclosed

This is fixed in 1.3.