- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 20 Sep 2012 22:49:57 +0000 (UTC)
- To: Tyler Larson <talltyler@gmail.com>
- Cc: whatwg@whatwg.org
On Thu, 26 Apr 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? Can't you do this using clip() easily enough? Maybe I'm missing something important here. Can you elaborate? -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 20 September 2012 22:51:10 UTC