W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 03 Jul 2011 16:40:56 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QdPj6-0004xQ-14@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12949

--- Comment #20 from Jan Varga <jan.varga@gmail.com> 2011-07-03 16:40:55 UTC ---
Ok, so it looks to me that element.click() should fire a click event and
provide default action (if the click event was not cancelled). Firing a click
event manually should not trigger default action according to the spec.

However, all browsers seem to trigger default handling after manual dispatch as
Olli pointed out.

-- 
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, 3 July 2011 16:40:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:13 UTC