Bug 28373

Summary: [WML] Preselected <option> elements, don't activate onpick events
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: WebCore Misc.Assignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED WONTFIX    
Severity: Normal CC: laszlo.gombos, staikos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 20393    
Attachments:
Description Flags
Initial patch staikos: review-

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.
Comment 4 Laszlo Gombos 2011-04-29 14:42:55 PDT
WML support is removed - http://trac.webkit.org/changeset/85256