- From: Glenn Maynard <glenn@zewt.org>
- Date: Fri, 23 Nov 2012 17:47:06 -0600
- To: Rik Cabanier <cabanier@gmail.com>
- Cc: Tyler Larson <talltyler@gmail.com>, Ian Hickson <ian@hixie.ch>, whatwg@whatwg.org
On Fri, Sep 21, 2012 at 7:49 PM, Rik Cabanier <cabanier@gmail.com> wrote: > With both types of shadow, you take the shape of the element and calculate > the blur image. > > With an outer shadow, you take the result of the blur and composite it. > After this, you composite the original shape. > With an inner shadow, you draw the shape first followed by the blur image. > Importantly, the blur image also needs to clipped by the shape before it is > composited. > Also, the blurred image's alpha is inverted. -- Glenn Maynard
Received on Saturday, 24 November 2012 01:27:44 UTC