[whatwg] proposal: Add support for masking to canvas

Tab Atkins Jr. jackalmage at gmail.com
Tue Jan 29 21:07:28 PST 2013


On Tue, Jan 29, 2013 at 9:04 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 1/29/13 11:37 PM, Rik Cabanier wrote:
>>
>> So the API could be as follows:
>
> ...
>
>> unrestricted double? sx;
>> unrestricted double? sy;
>
>
> Do these actually need to be nullable?  What's the use case for setting them
> to null?
>
> Same thing for the rest of this dictionary's members.

Hah, right, I overlooked that.  They don't need to be *nullable*, just
*optional*.

~TJ



More information about the whatwg mailing list