[whatwg] [canvas] inner shadows

Ian Hickson ian at hixie.ch
Fri Nov 23 16:03:25 PST 2012

On Fri, 23 Nov 2012, Rik Cabanier wrote:
> It would still be quite complex to draw an inner shadow this way because
> the blur is calculated on the inverse of the shape.
> A user will need to draw to another canvas and then 'clear' it to get the
> inverse.

Turns out it's much easier than that; see my e-mail just now.

> > Is this something implementors would be interested in?
> It seems like this would be easy for them to implement...

That's not really the question. :-)

There's a cost to every feature. We have to prioritise.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list