[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 #6 from Olli Pettay <Olli.Pettay@gmail.com> 2011-06-15 13:49:04 UTC ---
So the way activation behavior is defined in HTML is just wrong - 
well at least it doesn't reflect the reality.
Or I'm reading the spec wrong.
Anyway, click() doesn't work differently to dispatching click manually.

There can be differences in default handling, but that is a separate thing.

In Gecko, and I think in Webkit too, and based on the testcase also
other browsers there is
1. event target chain creation
2. pre-handle-event phase
3. actual dom event dispatch
4. post-handle-event phase, including default handling

-- 
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 Wednesday, 15 June 2011 13:49:11 UTC