- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 24 Sep 2013 16:24:38 -0400
- To: Rik Cabanier <cabanier@gmail.com>
- CC: www-style list <www-style@w3.org>
On 9/24/13 4:22 PM, Rik Cabanier wrote: > So a function that takes a DOMPointLiteral can be passed a DOMPoint. That's automatic. DOMPointLiteral is a structural type. A function taking DOMPointLiteral can be passed any object, including a DOMPoint. > Dictionary members are always optional. Sure, possibly with default values. Though the method implementation could in fact throw if they're not passed. > So, it's Ok for DOMPointLiteral to not contain members OK from the point of view of IDL. The callee can refuse such literals. -Boris
Received on Tuesday, 24 September 2013 20:25:07 UTC