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

Re: Markers and currentColor

From: Tavmjong Bah <tavmjong@free.fr>
Date: Thu, 04 Aug 2011 16:14:55 +0200
To: public-svg-wg@w3.org
Message-ID: <1312467295.2454.9.camel@LeChien>

> 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):

> http://www.w3.org/2011/07/29-svg-minutes.html#item02

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

This seems good to me. The sooner we can get it adopted, the better!

Received on Thursday, 4 August 2011 14:15:37 UTC

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