Opened 11 years ago
Closed 11 years ago
#12287 closed bug (duplicate)
Nested custom pseudo class selectors throw exceptions
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See testcase http://jsfiddle.net/ryanseddon/PPuRg/1/
I came across this error while upgrading to 1.8, our site uses Microsofts MVC validation lib which builds a selector like this $("#ResumeValSummary:not(:has(ul:first))") this gets mangled inside the handlePOS method which passes the selector off as "#ResumeValSummary:not(:has(ul"
This happens for any of the custom pseudo-classes e.g. odd, even etc above test case covers more scenarios where this falls over.
Change History (2)
comment:1 Changed 11 years ago by
Cc: | Timmy Willison added |
---|---|
Component: | unfiled → selector |
Priority: | undecided → low |
Status: | new → open |
comment:2 Changed 11 years ago by
Cc: | Timmy Willison removed |
---|---|
Resolution: | → duplicate |
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
Confirmed. Worked in 1.7.2