Skip to main content

Bug Tracker

Side navigation

#5895 closed bug (invalid)

Opened January 22, 2010 08:39AM UTC

Closed July 28, 2010 03:12AM UTC

$(s, ctx) fails for some selectors

Reported by: LonTyplabCom Owned by:
Priority: major Milestone: 1.4.1
Component: core Version: 1.4
Keywords: $ context attribute-selector Cc:
Blocked by: Blocking:
Description

In my app:

Native:

ctx.querySelectorAll("input[type='search'][placeholder]").length == 1 OK

jQuery 1.4:

$("input[type='search'][placeholder]", ctx).length == 0 WRONG

$(ctx).find("input[type='search'][placeholder]").length == 0 WRONG

but (without context)

$("input[type='search'][placeholder]").length == 1 OK

and (with context but without [type='search'])

$("input[placeholder]", ctx).length == 1 // OK

In my opinion a major bug.

But who am I?

Attachments (0)
Change History (1)

Changed July 28, 2010 03:12AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Please reopen with a complete test case (a complete file with html and script) so we can try to repro.