Open Bug 950005 Opened 7 years ago Updated 6 years ago

Drag-selecting list items in <select multiple> also selects hidden options

Categories

(Core :: DOM: Selection, defect)

25 Branch
Other
Other
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: teun, Unassigned)

Details

User Agent: Mozilla/5.0

Steps to reproduce:

1. Create a <select multiple> with 3 options, the middle one with display:none;.
2. Drag-select the 2 visible options
3. Observe the hidden option's "selected" property through javascript => true


Actual results:

The hidden option is selected


Expected results:

The hidden option should not be selected imho.
Component: Untriaged → Selection
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.