W3C home > Mailing lists > Public > public-html@w3.org > October 2015

Should mouse events be triggered on ancestors of disabled elements?

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Fri, 30 Oct 2015 08:30:52 +0100
Message-ID: <CAERejNYp6ve2ghohJfRaXxKnpLDARUGPf7sPLq=WN84Rp+HWRw@mail.gmail.com>
To: public-html@w3.org
http://www.w3.org/TR/html51/semantics.html#concept-fe-disabled says:

"A form control that is disabled must prevent any click events that are
queued on the user interaction task source from being dispatched on the

Does that mean that clicking on a disabled element avoids triggering
mousedown, mouseup and click events on their ancestors?
Chrome, Opera, IE and Edge *do* trigger event handlers set on ancestors,
though not when they're set on the disabled elements themselves. Firefox
currently never triggers those events, which is files at

Received on Friday, 30 October 2015 07:31:39 UTC

This archive was generated by hypermail 2.3.1 : Friday, 30 October 2015 07:31:40 UTC