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

[css3-background]Positioning of box-shadow blurs?

From: Alex Meiburg <timeroot.alex@gmail.com>
Date: Tue, 27 Apr 2010 21:58:34 -0700
Message-ID: <o2u736b692e1004272158xc5f2ea6cv6ae7ff98647c5d2a@mail.gmail.com>
To: www-style@w3.org
I was reading more through the box-shadow spec, and the part on the blurring
seemed unclear to me. Will the blurs be on the "outside" of the regular
shadow, the "inside", or "centered"? So, if we have a 400px wide box, with a
blur radius of 10px and no spread, will the resulting shadow (from the very
lightest left pixel to the very lightest right pixel) be 400px wide
(inside), 405px wide (centered), or 410px wide (outside)? Inside would have
the effect of lightening the inside of the shadow; centered would be like
"smudging" in bother directions from the otherwise hard shadow; and outside
would be adding extra darking to the area around the shadow.

Also, the shape of the blurs seems to be unclear - I know that some parts
shall be left to the user agents, but the preservation of sharp/rounded
corners should be up to the author, without a doubt.

~6 out of 5 statisticians say that the number of statistics that either make
no sense or use ridiculous timescales at all has dropped over 164% in the
last 5.62474396842 years.
Received on Wednesday, 28 April 2010 04:59:07 GMT

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