W3C home > Mailing lists > Public > www-svg@w3.org > January 2013

Re: Porting fill/stroke (and -opacity variants) to plain CSS

From: Doug Schepers <schepers@w3.org>
Date: Wed, 23 Jan 2013 17:52:41 -0500
Message-ID: <510069B9.60007@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-svg <www-svg@w3.org>
Hi, Tab-

Just one thing for consideration (there are surely many others):

When using stroke with text, typically authors would prefer to have the 
stroke underneath the fill, rather than on top of it, as it is now. 
Otherwise, it gets too muddled.

We plan to add the capability to SVG 2 to allow the stroke to be under 
the fill, along with other stroke properties. The mechanism we're using 
is ultimately Vector Effects, but I think many of us see value in having 
some "canned effect" properties for common things like 
stroke-under-fill, multi-stroke, non-scaling-stroke, and other things. 
I'd like to see this explored as part of CSS.


On 1/23/13 2:15 PM, Tab Atkins Jr. wrote:
> Heya SVGWG, in today's CSSWG call fantasai suggested, to solve
> another issue, porting SVG's fill and stroke properties to plain CSS,
> with them applying only to text.
> We'll look to existing SVG application of fill/stroke to <text>, and
> WebKit's use of their proprietary text-stroke and text-fill
> properties, to inform how they work.  We'll probably define them in
> the Text Decoration module.
> Any issues you anticipate with that?
> ~TJ
Received on Wednesday, 23 January 2013 22:52:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:40 UTC