Bug 119209
Summary: | <select> selectedIndex -1 changes when element is moved | ||
---|---|---|---|
Product: | WebKit | Reporter: | Martijn van den Broek <mjbroek> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | ap, mjbroek |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Martijn van den Broek
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |