[Bug 12949] click() shouldn't have special powers over dispatching click event manually

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12949

--- Comment #36 from Olli Pettay <Olli.Pettay@gmail.com> 2011-09-04 09:57:57 UTC ---
(In reply to comment #35)
> And if we make dispatchEvent of a "keydown" event with .char set to " " execute
> the default action of dispatching a "click" event, then that means that we have
> two APIs for dispatching "click" events.
dispatching 'return' keypress to links does dispatch a click event as
default handling. (' ' doesn't trigger links in Gecko)

> I'm aware that we've put some of the default action logic in the event-dispatch
> code in Gecko
Not only in Gecko but in all the browser engines.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 4 September 2011 09:58:01 UTC