W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: [css3-text] Should text-shadow have 'spread'?

From: Simon Fraser <smfr@me.com>
Date: Mon, 30 Jan 2012 20:09:29 +0000
Cc: Brad Kemper <brad.kemper@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org list" <www-style@w3.org>
Message-id: <7A2093CE-58EC-4680-8493-E09839B682F3@me.com>
To: Brian Manthos <brianman@microsoft.com>
On Jan 30, 2012, at 4:34 PM, Brian Manthos wrote:

> Brad:
>> Simon:
>>> If we're going to define spread behavior for text-shadow based on
>> stroking, I think we should do the same for box-shadow, and specify the
>> miter behavior.
>> 
>> I thought we more or less did so, describing how the 90deg corners
>> remain sharp before blurring takes place.
> 
> I was under the same impression.
> 
> Simon, can you elaborate?

The spec doesn't define spread in terms of stroking:
<http://dev.w3.org/csswg/css3-background/#the-box-shadow>

It talks about a thresholding approach, which would be much more computationally intensive, and does
not exactly how spread reacts to different corner radii. I think, if we want to define spread for text-shadow
in terms of stroking, that Backgrounds and Borders should do the same thing.

Simon
Received on Monday, 30 January 2012 20:10:42 GMT

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