W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2010

Re: [WebIDL] prototype chains, multiple inheritance, mixin interfaces

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 20 Nov 2010 02:50:55 -0800
Message-ID: <AANLkTinhQ=guAnZV4aSWQb8d7q1DN7=M2omqXrdmJAds@mail.gmail.com>
To: Olli@pettay.fi
Cc: Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org
On Sat, Nov 20, 2010 at 2:48 AM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote:
> On 11/20/2010 12:32 PM, Jonas Sicking wrote:
>>
>> On Fri, Nov 19, 2010 at 7:09 PM, Boris Zbarsky<bzbarsky@mit.edu>  wrote:
>>>
>>> On 11/19/10 4:39 PM, Cameron McCormack wrote:
>>>>
>>>> One issue I thought of since then is what to do if mixin interfaces want
>>>> to define constants, and they want them to appear on an interface object
>>>> with the abstract interface’s name?  This comes up in SVG, for example:
>>>
>>> A related issue.  What happens if a single mixin interface wants to mix
>>> in
>>> into multiple concrete interfaces?  Think nsIDOMEventTarget, unless some
>>> interface inheritance chains get changed.
>>
>> Node implements EventTarget;
>> Window implements EventTarget;
>> Worker implements EventTarget;
>> etc..
>>
>> / Jonas
>>
>>
>
> I hope the interface inheritance does get changed.
> interface Node: EventTarget { ... }

I understood Boris to not be asking about EventTarget specifically,
hence the last sentence in his message.

/ Jonas
Received on Saturday, 20 November 2010 10:51:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC