Closed Bug 1039047 Opened 11 years ago Closed 11 years ago

<select> element 'select.value' is updated on hover rather than on click

Categories

(Core :: Layout: Form Controls, defect)

30 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 393494

People

(Reporter: ealtenhof, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 Steps to reproduce: When you hover over an <option> in a <select> element, the 'select.value' property is updated. See http://plnkr.co/edit/Wli7OkXQJ2V772jH95rb?p=preview Actual results: Since the select.value property is updated on a hover, it is basically updated before the user commits to a choice. Expected results: As seen when running the given example http://plnkr.co/edit/Wli7OkXQJ2V772jH95rb?p=preview in Chrome, the select.value should not update unless the user clicks on a given option.
Confirmed with Nightly 33.0a1 2014-07-14 on Windows 8.1 64 bit.
Status: UNCONFIRMED → NEW
Ever confirmed: true
IMO Gecko's behavior is ok, but I was told other browsers don't update the value on hover, so we might want to change the behavior.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.