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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 23 Jan 2013 14:55:04 -0800
Message-ID: <CAAWBYDC5vxZwD7vUkg9tML+QSLZO+STyB0vM66V-zsKf2xHUuQ@mail.gmail.com>
To: Doug Schepers <schepers@w3.org>
Cc: www-svg <www-svg@w3.org>
On Wed, Jan 23, 2013 at 2:52 PM, Doug Schepers <schepers@w3.org> wrote:
> 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.

Strongly agree - I think it's extremely easy to show by example why an
"outside" stroke is much more pleasing than a "both sides" stroke, and
you can simulate the former by painting the fill over the stroke.

> 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.

This is actually exposed already as part of the paint-order property,
right?  You can just specify "paint-order: stroke fill" and it'll

Received on Wednesday, 23 January 2013 22:55:51 UTC

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