Bug Tracker

Modify

Ticket #4587 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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

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

Change History

Changed 4 years ago by mholt

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

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.

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

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.