#6939 closed bug (duplicate)
find() works incorrectly with attribute selectors
Reported by: | checat | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | selector | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery('.item img[src=nav]')
and
jQuery('.item').find('img[src=nav]')
give different results.
"find" looks into "img.src" and matches with full URL, while "jQuery" looks into original attribute value.
#5810 may be related to it
Attachments (1)
Change History (4)
Changed 12 years ago by
Attachment: | jQuery-bug-find.html added |
---|
comment:1 Changed 12 years ago by
In jQuery-bug-find.html first 8 lines of report show correct use of "img src" original attribute (I assume, via getAttribute('src')) which contains relative URL, but last 3 lines show access to full URL (I assume, via .src property).
comment:2 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Bug demonstration