Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9154 closed bug (fixed)

: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:

Description

Trying to select elements with the :reset pseudo returns 0 elements as of jQuery 1.6 See this fiddle for various test-cases: http://jsfiddle.net/gonchuki/cryjW/

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.

Change History (3)

comment:1 Changed 12 years ago by Timmy Willison

Component: unfiledselector
Milestone: 1.next1.6.1
Priority: undecidedblocker
Status: newopen

Confirmed

comment:2 Changed 12 years ago by john

Owner: set to john
Status: openassigned

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

comment:3 Changed 12 years ago by john

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.