W3C home > Mailing lists > Public > www-style@w3.org > June 2010

RE: [css3-background] box-shadow spread Multiple Choice Question

From: Brian Manthos <brianman@microsoft.com>
Date: Tue, 8 Jun 2010 19:55:22 +0000
To: Brad Kemper <brad.kemper@gmail.com>
CC: Brendan Kenny <bckenny@gmail.com>, Sylvain Galineau <sylvaing@microsoft.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <FA122FEC823D524CB516E4E0374D9DCF0151B207@TK5EX14MBXC136.redmond.corp.microsoft.com>
Brad Kemper:
> > Brad Kemper:
> >> And as I've said in the past, spread is not something created in
> >> order to simulate some phenomenon observed in nature. It is intended
> >> to give greater control of the placement and extent of the shadow at
> >> a level consistent with what is commonly available when creating
> >> shadows in familiar ways using tools such Photoshop.
> >
> > Is this the only place in CSS3 that gives authors a way to apply such an
> shape-derivation effect?
> 
> No. The shape of the inside of a border is different from the shape of the
> outside of the border, in the same sort of way. 'Outline-offset' should do the
> same sort of offsetting to border-radius (but in practice doesn't seem to pay
> attention to border-radius at all yet).

Ah, so if shadow became just a scaling then the (Photoshop-esque) spread effect could still be achieved with multi-element border shenanigans (which is still better than bitmaps, IMO)?

- Brian
Received on Tuesday, 8 June 2010 19:59:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT