- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Fri, 8 May 2015 12:20:32 +0200
- To: Ramya Vadlamudi <ramya.v@samsung.com>
- Cc: WHATWG <whatwg@whatwg.org>
On Fri, May 8, 2015 at 12:07 PM, Ramya Vadlamudi <ramya.v@samsung.com> wrote:
> Is there any specific reason to prevent click events that are queued on the
> user interaction task source only?
Presumably that's the legacy behavior.
> What should be the behavior of other events like button.dispatchEvent(new
> Event('click'))?
>
> From the results we can see IE and Firefox are not dispatching any click
> event generated to disabled elements.
>
> Please let me know the correct behavior.
I would say that both IE and Firefox are wrong. dispatchEvent() should
always work. There's nothing in the dispatchEvent() specification that
says it shouldn't for this case.
--
https://annevankesteren.nl/
Received on Friday, 8 May 2015 10:20:57 UTC