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

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 08 May 2012 22:28:01 +0200
Message-ID: <4FA981D1.7050507@mcc.id.au>
To: "www-style@w3.org" <www-style@w3.org>
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.


Received on Tuesday, 8 May 2012 20:28:42 UTC

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