W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: Request to include missing HTML tag interface specs in html5.idl

From: Maciej Stachowiak <mjs@apple.com>
Date: Wed, 15 Jul 2009 15:48:32 -0700
Cc: Dimitry Golubovsky <golubovsky@gmail.com>, Travis Leithead <travil@microsoft.com>, "public-html@w3.org" <public-html@w3.org>
Message-id: <2BA0DFF9-6CAB-4DA8-AEF0-1B5802BC05F2@apple.com>
To: Ian Hickson <ian@hixie.ch>

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC