W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [matrix][cssom-view] DOMPoint, DOMPointLiteral definitions

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 24 Sep 2013 13:22:21 -0700
Message-ID: <CAGN7qDBFS+tUfj+EY_=Tt2-VVakb1LW4ccQeXbxoogvkRNsqUQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Tue, Sep 24, 2013 at 12:04 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/24/13 2:44 PM, Rik Cabanier wrote:
>
>> Can we describe in IDL that the interface DOMPoint inherits from the
>> dictionary DOMPointLiteral?
>>
>
> In what sense?
>
> (I mean, you can't, but what do you want such inheritance to mean?)


So a function that takes a DOMPointLiteral can be passed a DOMPoint.


>
>
>  It seems that there are some subtle differences between attributes and
>> dictionary members that is otherwise lost.
>>
>
> Like what?


Dictionary members are always optional. So, it's Ok for DOMPointLiteral to
not contain members, but not for DOMPoint (unless we change its IDL)
Received on Tuesday, 24 September 2013 20:22:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC