Modify ↓
Ticket #4587 (closed bug: fixed)
Webkit not complying with simple selector
| Reported by: | mholt | Owned by: | john |
|---|---|---|---|
| Priority: | low | Milestone: | 1.4.4 |
| Component: | selector | Version: | 1.3.2 |
| Keywords: | not selector, last selector | Cc: | |
| Blocking: | Blocked by: |
Description
I've narrowed down my issues to the selector in this line:
$(".inputbox:not(:last)").attr("readonly", "readonly");
I'm attempting to make every .inputbox except the last one readonly. Firefox and IE comply but Safari and Chrome apply "readonly" to ALL .inputbox elements on the page, even the last one.
This error is reproducible using the test file I have attached.
Attachments
Change History
comment:1 Changed 3 years ago by rwaldron
- Priority changed from major to low
- Status changed from new to closed
- Resolution set to fixed
- Milestone changed from 1.3.2 to 1.4.4
1.4.4-git
Passes: Supported Versions; Chrome, Safari, FF, IE
Note: IE has weird backspace key/back button behavior in readonly fields.
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.


Use this HTM file to reproduce the possible bug. Don't forget to include jQuery!