Open Bug 1429350 Opened 8 years ago Updated 3 years ago

Disabled option element for "multiple=true" select is clickable (receives focus)

Categories

(Core :: DOM: Events, enhancement, P3)

59 Branch
enhancement

Tracking

()

Tracking Status
firefox59 --- affected

People

(Reporter: whimboo, Unassigned)

Details

As given by the HTML spec a disabled option should not receive any click event: https://html.spec.whatwg.org/#attr-option-disabled > An option element that is disabled must prevent any click events that are queued on the user interaction task source from being dispatched on the element. But the example here shows that this is happening for disabled option elements in case of multiple=true select elements. Without the multiple attribute, no click event is triggered.
Henrik, did you intend to link to an example?
Flags: needinfo?(hskupin)
Yeah, sorry. I put it up at https://github.com/w3c/webdriver/issues/1187#issuecomment-356531602 but missed to link it. Here the direct link to the example: https://jsbin.com/fihicokaqe/1/edit?html,output
Flags: needinfo?(hskupin)
Thanks Henrik.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.