Modify ↓
Ticket #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: | ||
| 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 2 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 2 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Confirmed