- From: Simon Fraser <smfr@me.com>
- Date: Mon, 23 Jan 2012 11:26:25 -0800
- To: "www-style@w3.org list" <www-style@w3.org>
I don't think 'spread' should apply to text-shadow, yet CSS3 Text suggests that text-shadow follows box-shadow <http://dev.w3.org/csswg/css3-text/#text-shadow>. For rectangles and rounded-corner rectangles, 'spread' is easy to implement by insetting or outsetting the rectangle bounds. For arbitrary shapes, spread is vastly more difficult to implement, requiring either some complex path math, or pixel-based computations that are expensive to do at drawing time. There are also complexities related to whether spread makes sharp corners rounded etc. Simon
Received on Monday, 23 January 2012 19:27:55 UTC