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: | adrian@planetcoding.net | 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.
Attachments (0)
Change History (2)
Changed May 10, 2013 04:17PM UTC by comment:1
| component: | unfiled → selector |
|---|---|
| owner: | → timmywil |
| priority: | undecided → blocker |
| status: | new → assigned |
Yea, it's actually checking for quotes. This could affect other compilation.