Bug 12725

Summary: REGRESSION: onchange gets fired when clicking on a programmatically selected element in a listbox
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: KwhiteRight
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case
none
test case none

Description Alexey Proskuryakov 2007-02-10 07:24:27 PST
Clicking on a listbox element that was selected from JS or via an HTML "selected" attribute now erroneously causes an onchange event to be dispatched.
Comment 1 Alexey Proskuryakov 2007-02-10 07:27:35 PST
Created attachment 13105 [details]
test case

This is an extended fast/forms/listbox-onchange.html test.

It also shows that setting value attribute of a multiple select listbox works incorrectly, not sure whether this is a regression, too.
Comment 2 Maciej Stachowiak 2007-02-10 19:15:15 PST
<rdar://problem/4990050>
Comment 3 Alexey Proskuryakov 2007-02-11 11:24:49 PST
Created attachment 13121 [details]
test case

A bigger test case.
Comment 4 Adele Peterson 2007-03-17 00:57:41 PDT
Committed revision 20259.