W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

Re: [DOM4] EventTarget as first class citizen

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 Feb 2012 13:15:40 -0500
Message-ID: <4F4E6B4C.1000409@mit.edu>
To: www-dom@w3.org
On 2/29/12 10:05 AM, Marcos Caceres wrote:
>    1. Have an object inherits EventTarget.

Inherits in what sense?  What does this mean in practice?

> You are right, there isn't a practical/technical advantage to creating an element

It might be much faster (and almost certainly is more memory efficient) 
to create a small EventTarget implementation than to create an element.

-Boris
Received on Wednesday, 29 February 2012 18:16:12 GMT

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