Skip to main content

Bug Tracker

Side navigation

#13882 closed bug (fixed)

Opened May 10, 2013 02:35PM UTC

Closed May 10, 2013 04:48PM UTC

:contains("") matches nothing since jQuery 1.8

Reported by: Owned by: timmywil
Priority: blocker Milestone: None
Component: selector Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

As you can see, in jQuery 1.7 :contains("") matched anything - which makes sense since every element contains the empty string. However, since jQuery 1.8 this stopped working.

Attachments (0)
Change History (2)

Changed May 10, 2013 04:17PM UTC by timmywil comment:1

component: unfiledselector
owner: → timmywil
priority: undecidedblocker
status: newassigned

Yea, it's actually checking for quotes. This could affect other compilation.

Changed May 10, 2013 04:48PM UTC by Timmy Willison comment:2

resolution: → fixed
status: assignedclosed

Update Sizzle: empty string arguments in pseudos. Fixes #13882.

Changeset: 5dda0687f19c29976c4f4989ebc981b9e7231a3f