Bug 28373 - [WML] Preselected <option> elements, don't activate onpick events
Summary: [WML] Preselected <option> elements, don't activate onpick events
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nikolas Zimmermann
Depends on:
Blocks: 20393
  Show dependency treegraph
Reported: 2009-08-16 20:06 PDT by Nikolas Zimmermann
Modified: 2011-04-29 14:42 PDT (History)
2 users (show)

See Also:

Initial patch (12.37 KB, patch)
2009-08-16 20:19 PDT, Nikolas Zimmermann
staikos: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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