- From: Rik Cabanier <cabanier@gmail.com>
- Date: Tue, 24 Sep 2013 13:22:21 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: www-style list <www-style@w3.org>
Received on Tuesday, 24 September 2013 20:22:48 UTC
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