Bug Tracker

Modify

Ticket #9154 (closed bug: fixed)

Opened 3 years ago

Last modified 3 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:

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

comment:1 Changed 3 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

Confirmed

comment:2 Changed 3 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 3 years ago by john

  • Status changed from assigned to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.