On Apr 17, 2013 9:55 PM, "Tavmjong Bah" <tavmjong@...8...> wrote:
>
> On Wed, 2013-04-17 at 17:31 -0400, Martin Owens wrote:
> > On Wed, 2013-04-17 at 21:13 +0200, Tavmjong Bah wrote:
> > > How are you going to handle keeping track of all the colors? Inkscape
> > > currently has the ability to use named colors via using one-stop
> > > gradients. SVG2 has a "solidColor" element which can be used for the
> > > same purpose. I would like to see the one-stop gradients replaced by
> > > the
> > > solidColor element internally. Then at the saving stage convert
> > > solidColor elements to one-stop gradient elements if targeting SVG
> > > 1.1.
> > > (This will simplify some internal code.)
> >
> > We could use css too, not sure what the restrictions or resistance is to
> > having css defined styles in inkscape. They've worked quite well in
> > firefox for quite some years. I've used them myself.
>
> CSS cannot handle more complicated cases, for example using the same
> named color for a fill and for a gradient stop.

Even the most current draft of the next spec? If that's the case, is there a reason why?

I'd love top see us use CSS more for styling, however that would really be primarily if we were linking against external CSS files or had it properly reused in the doc structure like defs (by default).

Cheers,
Josh