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

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