W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] [canvas] inner shadows

From: David Geary <david.mark.geary@gmail.com>
Date: Thu, 26 Apr 2012 13:05:44 -0600
Message-ID: <CA+44znhiPdpRseFMoNgcQui+U62_pF7MJxgG7tf5pGfGOxJGQw@mail.gmail.com>
You can specify negative shadow offsets for shadows inside a shape. Is that
not good enough?


david

On Thursday, April 26, 2012, Tyler Larson wrote:

> Shadows can be applied to the outside of anything. This is a great feature
> that is otherwise rather difficult to recreate but why not enable users to
> be able to have inner shadows? Things like beveling, embossing and many
> other stylistic things that are used in today designs rely on inner shadows.
> http://www.whatwg.org/specs/web-apps/current-work/#shadows
>
> It could just be a boolean value noting if rendering is done to the inside
> or the outside of what is currently drawn into the context.
> In CSS we have inset box-shadows, which gives a similar effect.
> http://www.w3.org/TR/css3-background/#the-box-shadow
>
> Can we add this to the canvas shadows please?
>
> -Tyler Larson
Received on Thursday, 26 April 2012 12:05:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT