Bug Tracker

Opened 11 years ago

Closed 9 years ago

#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:
Blocked by: Blocking:

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 (1)

test.htm (768 bytes) - added by mholt 11 years ago.
Use this HTM file to reproduce the possible bug. Don't forget to include jQuery!

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by mholt

Attachment: test.htm added

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

comment:1 Changed 9 years ago by Rick Waldron

Milestone: 1.3.21.4.4
Priority: majorlow
Resolution: fixed
Status: newclosed

1.4.4-git

Passes: Supported Versions; Chrome, Safari, FF, IE

Note: IE has weird backspace key/back button behavior in readonly fields.

http://jsfiddle.net/rwaldron/V7PL7/2/

Note: See TracTickets for help on using tickets.