Re: [geometry] DOMPoint constructor dictionary parameter should be optional

On Mon, 06 Jan 2014 07:06:51 +0100, Robert O'Callahan  
<robert@ocallahan.org> wrote:

> WebIDL spec says:
>
>> If the type of an argument is a dictionary type or a union type that  
>> has a
>> dictionary type as one of its flattened member types, and this argument  
>> is
>> either the final argument or is followed only by optional arguments,  
>> then
>> the argument MUST be specified as optional.
>>
> So the DOMPoint(DOMPointInit) constructor parameter needs to be optional.
> This means the no-arg DOMPoint constructor must be removed.

Thanks

https://dvcs.w3.org/hg/FXTF/rev/77ca1417495f

-- 
Simon Pieters
Opera Software

Received on Wednesday, 15 January 2014 15:12:44 UTC