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

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 9 May 2012 09:47:45 -0700
Message-Id: <77B6F049-8D78-457B-8E27-EAB9DAF0C108@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: Cameron McCormack <cam@mcc.id.au>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC