Re: [whatwg] proposal: Add support for masking to canvas

On 1/30/13 12:13 AM, Rik Cabanier wrote:
> ah, sorry. I looked at the dictionary for hitregions

Sounds like we should consider fixing this hitregions thing whatever it is.

>         optional unrestricted double sx;

That's not actually valid WebIDL, with the "optional".

And that's because all dictionary members in WebIDL are always optional 
to start with.

So just dropping all those "optional" should do the trick.

Note that this does mean that for things you really must have the prose 
needs to specify throwing if they're not present.

-Boris

Received on Wednesday, 30 January 2013 05:23:52 UTC