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

Re: Should mouse events be triggered on ancestors of disabled elements?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Fri, 30 Oct 2015 03:35:29 -0400
To: public-html@w3.org
Message-ID: <56331DC1.8000305@mit.edu>
On 10/30/15 3:30 AM, Sebastian Zartner wrote:
> 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.

And what does it mean to "trigger on ancestors"?  Where is the event 
dispatched, with what target?  Which events need the weirdness?

-Boris
Received on Friday, 30 October 2015 07:36:00 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:16 UTC