Bug Tracker

Opened 5 years ago

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


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 5 years ago by timmywil

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


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

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