Bug Tracker

Ticket #9154 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

:reset pseudo-selector broken

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


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

comment:1 Changed 5 years ago by timmywil

  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Component changed from unfiled to selector
  • Milestone changed from 1.next to 1.6.1


comment:2 Changed 5 years ago by john

  • Owner set to john
  • Status changed from open to assigned

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

comment:3 Changed 5 years ago by john

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.