Bug Tracker

Opened 11 years ago

Closed 9 years ago

#4041 closed bug (worksforme)

Some selectors with meta-characters fail in jQuery 1.3.1

Reported by: shawphy Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:

Description

In jQuery 1.3.1,elements with these 7 characters fail to match:

~ ( + [ \ > ,

test case: http://shawphy.com/demo/selector/jQuery-1-3-1-selector-test.html

Change History (2)

comment:1 Changed 11 years ago by shawphy

According to the doc: http://docs.jquery.com/Traversing/is "If no element fits, or the expression is not valid, then the response will be 'false'." But in this case, I have to use "try catch" because of the error. Maybe an another bug?

comment:2 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.