Bug Tracker

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#6211 closed bug (worksforme)

Option tags inhert the "disabled" property of the select box in Chrome & Safari

Reported by: erichynds Owned by: john
Priority: undecided Milestone: 1.next
Component: selector Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


In Chrome and Safari, option tags inherit the disabled property their parent select. Therefore, $("select option:disabled"); returns ALL option tags if the select box is disabled, even though the disabled attribute of each option is not explicitly set. This is probably the desired behavior.

In FF 2-3.6, IE 6-8, and Opera 10, option tags do not inherit the disabled property.

Test case: http://jsfiddle.net/FBBYE/1/

Change History (4)

comment:1 Changed 6 years ago by john

  • Owner set to john
  • Status changed from new to assigned

comment:2 Changed 5 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:3 Changed 5 years ago by danheberden

  • Milestone set to 1.next
  • Priority set to undecided

comment:4 Changed 5 years ago by john

  • Resolution set to worksforme
  • Status changed from assigned to closed

This appears to be working now.

Note: See TracTickets for help on using tickets.