W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

[webidl] [Implements] extended attribute

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 09 Feb 2009 16:30:26 +0100
To: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.uo3b00eh64w2qv@annevk-t60.oslo.opera.com>

To complement [ImplementedOn] I think we need [Implements]. For instance,  
objects implementing the XMLHttpRequest interface must implement the  
EventTarget interface can be neatly described in the IDL:

   [Constructor,
    Implements=EventTarget]
   interface XMLHttpRequest ...

It would be nice if it could be used multiple times as well, e.g.

   [Implements=EventTarget,
    Implements=XMLHttpRequestEventTarget]
   interface XMLHttpRequestUpload ...

I am assuming something like this ends up in the Web IDL specification for  
now as per IRC discussion.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 9 February 2009 15:31:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:29 GMT