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

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

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 30 Jan 2013 05:59:16 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Message-ID: <Pine.LNX.4.64.1301300552530.6293@ps20323.dreamhostps.com>
Cc: WHATWG <whatwg@lists.whatwg.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Rik Cabanier <cabanier@gmail.com>
On Wed, 30 Jan 2013, Boris Zbarsky wrote:
> 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.

The HitRegionOptions dictionary has (some) nullable members to allow the 
"missing" value to also be represented as null (as distinct from the empty 
string). For 'id', the missing value is represented by the empty string, 
so it's not nullable. For 'cursor', the missing value is not distinguished 
from the value 'inherit', so it's not nullable either. As you point out, 
all the values are optional; the reason to make something nullable is just 
to allow the "null" value, not to make it optional.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 30 January 2013 05:59:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:52 UTC