W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 16 Jul 2013 19:57:33 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Message-ID: <alpine.DEB.2.00.1307161956100.31051@ps20323.dreamhostps.com>
Cc: WHATWG <whatwg@lists.whatwg.org>, Boris Zbarsky <bzbarsky@MIT.EDU>
On Fri, 1 Feb 2013, Cameron McCormack wrote:
> On 30/01/13 6:28 PM, Ian Hickson wrote:
> > That's weird. heycam, can you elaborate on this? The addHitRegion() 
> > case in particular never makes sense to be called without a dictionary 
> > containing at least one member. Do we have to allow it?
> 
> This is to encourage (require, really) API design that allows the 
> dictionary object to be not specified at all.  Remember that all 
> dictionary members can be "not specified" anyway.
> 
> Do you want addHitRegion() to throw just like addHitRegion({}) would 
> throw? That will happen if you already have wording to say that 
> addHitRegion({}) will throw.

Ah, ok. Fixed. Thanks.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 16 July 2013 19:57:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC