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>

--- 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.4.0 : Friday, 17 January 2020 20:01:55 UTC