- From: Maciej Stachowiak <mjs@apple.com>
- Date: Wed, 15 Jul 2009 15:48:32 -0700
- To: Ian Hickson <ian@hixie.ch>
- Cc: Dimitry Golubovsky <golubovsky@gmail.com>, Travis Leithead <travil@microsoft.com>, "public-html@w3.org" <public-html@w3.org>
On Jul 15, 2009, at 3:37 PM, Ian Hickson wrote: > >> So, perhaps here may be the solution. W3C might "officially" >> provide an >> IDL file with these interfaces separately from html5.idl. > > Why would we want multiple conflicting IDLs? > > > I don't really understand why we would need different element types to > have different interfaces. You can tell what kind of element an > object is > based on its tag name. Would we give every different element in XML > its > own interface? I can imagine a marginal benefit to empty interfaces: it makes it easier for libraries to add extra JavaScript methods to only a particular element. On balance, though, I don't think it's worth it. Regards, Maciej
Received on Wednesday, 15 July 2009 22:49:14 UTC