Bug 130525 - Select element doesn't fire correct events when mouse is dragged away.
Summary: Select element doesn't fire correct events when mouse is dragged away.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 11:52 PDT by rlobkovsky
Modified: 2014-03-20 11:52 PDT (History)
0 users

See Also:


Attachments
Test case (936 bytes, text/html)
2014-03-20 11:52 PDT, rlobkovsky
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rlobkovsky 2014-03-20 11:52:13 PDT
Created attachment 227311 [details]
Test case

On select elements that look like list boxes (i.e. not dropdowns -- although I haven't checked), clicking on a previously-unselected option produces the following event sequence: mousedown, mouseup, change, click (I'm omitting others such as mousemove). This is what's expected, and what other browsers do. However, if you click on a previously-unselected option and drag the mouse outside the select element, and then let go, you only get mousedown. In both Firefox and IE, you get mousedown, mouseup, change.

Steps to reproduce:
1) Open the attached test case.
2) Click on an unselected option in the list box and without letting go, drag the mouse outside the list box.
3) Let go the mouse button.

Actual result: below the list box, you only see "mousedown".
Expected result: you should see "mousedown", "mouseup", "change".

Build: Chrome Windows 33.0.1750.154 (Official Build 257193) m
WebKit: 537.36 (@169182)