Re: [css3-text] applying text-shadow to SVG text

On May 8, 2012, at 1:28 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> The SVG WG would like to have the text-shadow property work with SVG text elements.  One thing that is not clear is whether the shadow should apply to the region enclosed by both the stroke and fill of the text or just the fill.  It seemed people here at the SVG F2F this week preferred to have it apply to the union of the stroke and fill of the text.
> 
> It would be good if (a) this could be noted in the spec, (b) there were a spec hook that the SVG spec can use to supply the "union of stroke and fill" shape too, or (c) I could get an assurance that it would be fine for the SVG spec to just say something like:
> 
>  When the text-shadow property is used to apply shadow effects to SVG
>  text, it is applied to the shape formed by the union of the fill and
>  stroke of the text.
> 
> Thanks,
> 
> Cameron

I agree that it should be based on the union of the fill and stroke. That sounds most similar to how box-shadow works, if you think of 'border' as being similar to stroke.

Received on Wednesday, 9 May 2012 16:55:19 UTC