[Bug 10897] In general, synthetic events dispatched from script do not trigger default actions - click is the exception for compatibility

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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-10-12 06:13:27 UTC ---
That test is invalid.

Can you elaborate on exactly what features require this? It's obviously not the
case that _all_ synthetic click events must trigger the same behaviour as the
user agent would do by default if an event _it_ dispatched was not canceled and
thus had its default action executed, since otherwise that would allow for
popups by sending a fake click event to a link with a target="" attribute.

In general it seems highly unlikely that pages actually depend on the behaviour
you describe since IE has not previously supported this feature at all. Do you
have specific URLs showing that there is content depending on this behaviour?

(This behaviour has long been a violation of the whole DOM Events model, though
it's indeed true that a number of implementations have often gotten this wrong
to some extent or another.)

-- 
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 Tuesday, 12 October 2010 06:13:28 UTC