Opened 10 years ago
Closed 10 years ago
#13882 closed bug (fixed)
: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: |
Description
http://jsfiddle.net/ThiefMaster/8MC2E/ http://jsfiddle.net/ThiefMaster/8MC2E/1 http://jsfiddle.net/ThiefMaster/8MC2E/2
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.
Change History (2)
comment:1 Changed 10 years ago by
Component: | unfiled → selector |
---|---|
Owner: | set to timmywil |
Priority: | undecided → blocker |
Status: | new → assigned |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Update Sizzle: empty string arguments in pseudos. Fixes #13882.
Changeset: 5dda0687f19c29976c4f4989ebc981b9e7231a3f
Note: See
TracTickets for help on using
tickets.
Yea, it's actually checking for quotes. This could affect other compilation.