W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2011

Re: Matching marker color to path color

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 03 Aug 2011 17:27:32 +1200
Message-ID: <4E38DC44.1030008@mcc.id.au>
To: Tavmjong Bah <tavmjong@free.fr>
CC: public-svg-wg@w3.org
On 10/02/11 8:40 AM, Tavmjong Bah wrote:
> Patrick had an idea at SVG Open on how to fix the problem of having
> marker color match path color. This is the most often cited "bug" in
> Inkscape since there is no natural way to have an arrowhead take the
> color of the path. At the time I thought his idea wouldn't work but now
> I think it may have some merit. The main change to the spec would be
> that marker fill and stroke are evaluated at the point of use and not at
> the point of definition.

During the F2F as part of the discussion of the SVG Vector Effects 
specification, Chris mentioned a proposal to add a few new keywords to 
handle the issue of marker colour (and SVG Font glyph colour):


I feel that that is a better solution since it is explicit about where 
the computed values of these keywords comes from, rather than 
automatically changing depending on if you use them on elements inside a 
marker or not.

Note that the keywords Chris proposed come in two varieties -- one that 
lets you select the current paint from one of the fill/stroke/color 
properties at the point of use, and one from the point of reference.

Do you have any thoughts on this?
Received on Wednesday, 3 August 2011 05:28:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:46 UTC