[Webkit-unassigned] [Bug 60563] [Chromium]Click event is not fired for a menulist <select>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 12 11:03:04 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60563





--- Comment #13 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2011-05-12 11:03:04 PST ---
(From update of attachment 93236)
View in context: https://bugs.webkit.org/attachment.cgi?id=93236&action=review

>>> Source/WebCore/rendering/RenderTextControlSingleLine.h:118
>>> +    virtual void dispatchMouseUpAndClick(const PlatformMouseEvent&) { }
>> 
>> This is definitely wrong. We shouldn't dispatch events from RenderObjects.
> 
> As you see, I don't do anything for the object. dispatchMouseUpAndClick() is pure virtual function, so we need to implement something here.
> 
> Or don't we declare the function as pure virtual function?
> 
> Thanks

Dispatching DOM events from a RenderObject is just a perverse concept :) RenderTrees and DOM trees are two separate things.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list