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

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Aug 2011 23:28:35 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QrICR-0000vw-9X@jessica.w3.org>

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

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |WONTFIX

--- Comment #29 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-08-10 23:28:34 UTC ---
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:

Status: Rejected
Change Description: no spec change

As others have said, it is the responsibility of the code (UA or script) that
dispatches the event to ensure that a default action, if any, is performed.
Indeed, the default action could differ based on how is firing the event. For
example, one could have an event target to which one dispatches a "foo" event,
and if it isn't canceled, one then pops up an alert... but some other code
could instead dispatch a "foo" event, and if it isn't canceled, adds text to a

Historically, browsers have had exceptions to this — different exceptions in
each browser. But we're moving away from this as a rationalisation of the

Now given this model, we do need a mechanism by which one can invoke the
default activation behaviour of an element, e.g. to click a button, open an
input file dialog, or whatnot. And that's what click() does.

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, 10 August 2011 23:28:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:00 UTC