Hi. Current implementation of select lists in Safari can be improved a lot. If you have a select with some option tags and some of the option tags are DISABLED then when you click on a disabled option, then the last highlighted option in the select will be selected. This is very counter intuitive for end-user. For normal users (non-developers) of a web-application, it might not be obvious at first, that when an option is not getting highlighted when moving the mouse pointer over the options in select, it means that it should not be clicked. So the user might want to try clicking a disabled option. If you do this in Firefox, then nothing happens and the select (dropdown list) will stay open, with no change in what is selected in the list. If you click on a disabled option in a select in Safari, then the last highlighted option in the select will be selected and the dropdown list will close. (when I say last highlighted option it will depend on from where you are moving the mousepointer toward the disabled option.... if from above in the dropdown, then the last highlighted option will be the last non-disabled option above the disabled option in question, likewise for options below the disabled option in question) I would like to see a select in safari work same way as in Firefox. If this is implemented then it will be harder for an enduser to make a wrong selection.
> I would like to see a select in safari work same way as in Firefox. I agree and I'm voting for this bug. A testcase: http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/OptionDisabledSupport.html
Tore, In all fairness, I don't think this should be a feature request but a normal bug to fix. A disabled <option> should be dimmed out, grayed out, it should be unfocusable and it should be unselectable.
According to Robin Lionheart http://www.robinlionheart.com/stds/html4/results Safari 1.3.2 did not support <option disabled>. So chances are he would also give a no, a red X for support of <option disabled> in Safari 3.1.x.
I think this is just a bug that needs to be fixed.
<rdar://problem/6138855>
(In reply to comment #0) > If you click on a disabled option in a select in Safari, then the last highlighted option in the select will be selected and the dropdown list will close. (when I say last highlighted option it will depend on from where you are moving the mousepointer toward the disabled option.... if from above in the dropdown, then the last highlighted option will be the last non-disabled option above the disabled option in question, likewise for options below the disabled option in question) This part of the bug has since been fixed. Hovering over a disabled option removes the highlighted state from the last option. Clicking on a disabled option, then, closes the menu but retains the last known selection of the select widget. This is the same behavior as with native apps on OS X, so from a user perspective it should be expected behavior. I think we can mark this bug as fixed.
I'm sorry, I completely missed the Windows XP platform part. :-/ Reopening.
Looks like bug 122774 was used to fix this. *** This bug has been marked as a duplicate of bug 122774 ***