[whatwg] proposal: Add support for masking to canvas

Boris Zbarsky bzbarsky at MIT.EDU
Tue Jan 29 21:23:25 PST 2013

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.


More information about the whatwg mailing list