Bug 119209

Summary: <select> selectedIndex -1 changes when element is moved
Product: WebKit Reporter: Martijn van den Broek <mjbroek>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ap, mjbroek
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Martijn van den Broek
Reported 2013-07-29 02:29:09 PDT
When a select has .selectedIndex = -1 set and then moved to another place in the DOM, the selectedIndex gets set to 0. Other browsers (firefox) keep the selectedIndex -1 but in webkit it goes to 0. See attached file as an example of this behaviour.
Attachments
Note You need to log in before you can comment on or make changes to this bug.