Skip to main content

Bug Tracker

Side navigation

#9154 closed bug (fixed)

Opened May 06, 2011 08:25PM UTC

Closed May 09, 2011 10:09PM UTC

:reset pseudo-selector broken

Reported by: gonchuki Owned by: john
Priority: blocker Milestone: 1.6.1
Component: selector Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

Trying to select elements with the :reset pseudo returns 0 elements as of jQuery 1.6

See this fiddle for various test-cases:

This is a major regression and happens both in context $foo.find(':reset') and global queries $(':reset')

The only workaround as you see in the fourth example in the fiddle is to query with a CSS2 attribute selector.

Attachments (0)
Change History (3)

Changed May 07, 2011 12:33AM UTC by timmywil comment:1

component: unfiledselector
milestone: 1.next1.6.1
priority: undecidedblocker
status: newopen


Changed May 09, 2011 03:53PM UTC by john comment:2

owner: → john
status: openassigned

This is specific to when buttons are used with a type="reset", easy to fix either way.

Changed May 09, 2011 10:09PM UTC by john comment:3

resolution: → fixed
status: assignedclosed