W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2010

Re: [dom-events] dispatchEvent()ing a UA-dispatched event

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 06 May 2010 09:47:35 -0400
Message-ID: <4BE2C877.8080909@mit.edu>
To: Simon Pieters <simonp@opera.com>
CC: www-dom@w3.org
On 5/6/10 7:16 AM, Simon Pieters wrote:
> For my use case (making table rows or <canvas> clickable without having
> to create a new event and copy over all properties manually), maybe we
> could introduce a cloneEvent API similar to cloneNode? I realize that it
> is kind of messy to redispatch events, but it would be nice with an easy
> way to clone an event and dispatch that.

So for <canvas> you can just put it inside an <a>, right?  The real 
issue is table rows, due to how HTML parsing works?

-Boris
Received on Thursday, 6 May 2010 13:48:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT