Open Bug 1006480 Opened 12 years ago Updated 4 years ago

select input does not trigger change event if closed due to being hidden by css

Categories

(Core :: Layout: Form Controls, defect)

29 Branch
x86
All
defect

Tracking

()

People

(Reporter: philipp.brumm, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release) Build ID: 20140421221237 Steps to reproduce: jsbin testcase: http://jsbin.com/xujebosu/1/edit notes: select inputs are hidden if mouse is not inside output window. select value is logged to console on change event. second example uses visibility: hidden; as control behavior. it does not close the dropdown on hiding, and no selection is taking place. 1. click on select input next to "display:none" label 2. move mouse downwards, to select "bar" option 3. without clicking, move mouse to left, and out of the output window 4. move mouse back into output window Actual results: after moving mouse out of window, the select input and its dropdown hide. no selection has taken place. after moving the mouse back into the window, "bar" option is selected. no logging has occured. Expected results: console should have logged "bar"
Chrome does not seem to hide the select input and dropdown if the dropdown is being shown.
Reproduced with 2014-05-13-03-02-01-mozilla-central-firefox-32.0a1.ru.linux-x86_64. Couldn't find a duplicate, too many results.
Status: UNCONFIRMED → NEW
QA Whiteboard: [bugday-20140519][DUPEME?]
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
OS: Mac OS X → All
Product: Firefox → Core
Reproduced in 2010-10-01-03-mozilla-central-firefox-4.0b7pre.en-US.linux-x86_64. 2010-08-15-03 and earlier cannot execute the testcase or have no necessary console.
See Also: → 1692932
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.