|Summary:||[WML] Preselected <option> elements, don't activate onpick events|
|Product:||WebKit||Reporter:||Nikolas Zimmermann <zimmermann>|
|Component:||WebCore Misc.||Assignee:||Nikolas Zimmermann <zimmermann>|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.5|
|Bug Depends on:|
Description Nikolas Zimmermann 2009-08-16 20:06:29 PDT
Preselected <option> elements (ie. the first <option> child of a <select multiple="false"> element) don't fire onpick events, if the user manually selects the item with the mouse. Nothing should happen, except that the onpick event should be fired.
Comment 1 Nikolas Zimmermann 2009-08-16 20:19:33 PDT
Created attachment 34945 [details] Initial patch
Comment 2 Nikolas Zimmermann 2009-08-16 20:33:39 PDT
Only affects mac btw, all other platforms seem to fire valueChanged() in any case. Needs testing though. This patch doesn't affect HTML in any way, maybe I should be more explicit in the ChangeLog
Comment 3 George Staikos 2009-08-16 20:37:18 PDT
Comment on attachment 34945 [details] Initial patch As discussed with Niko, this is a bit unclean and maybe not the best approach. It affects HTML implementation and the new argument is a bit hacky.