Skip to main content

Bug Tracker

Side navigation

#1272 closed bug (duplicate)

Opened June 06, 2007 09:06AM UTC

Closed June 21, 2007 06:02PM UTC

.is("img[@src], input[@src]") only match imgs.

Reported by: Carmine Owned by:
Priority: minor Milestone: 1.1.3
Component: core Version: 1.1.2
Keywords: is Cc:
Blocked by: Blocking:

If i use a filter like this :


return $(this).is("img[@src], input[@src]");


The inputs are never selected.

I need to do this to have a correct selection :


return (

$(this).is("input[@type=image][@src]") ||



Attachments (0)
Change History (2)

Changed June 06, 2007 09:08AM UTC by Carmine comment:1

Whooah ! Trac has stripped my two pipes. There is of course an 'or' between the to elements of the second proposal.

Changed June 21, 2007 06:02PM UTC by brandon comment:2

resolution: → duplicate
status: newclosed

I believe #977 fixes the problem.