Skip to main content

Bug Tracker

Side navigation

#4587 closed bug (fixed)

Opened April 23, 2009 06:18PM UTC

Closed October 29, 2010 03:48PM UTC

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 (0.8 KB) - added by mholt April 23, 2009 06:19PM UTC.

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

Change History (1)

Changed October 29, 2010 03:48PM UTC by rwaldron comment:1

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/