W3C home > Mailing lists > Public > www-svg@w3.org > October 2001

Re: Groups with non-zero intersections

From: Kevin Lindsey <kevlindev@kevlindev.com>
Date: Sun, 28 Oct 2001 15:58:00 -0500
Message-ID: <001c01c15ff3$3a85bf60$0201a8c0@lizard>
To: "Chris Lilley" <chris@w3.org>
Cc: "Jason Foster" <jafoster@uwaterloo.ca>, <www-svg@w3.org>
> > You will have
> > to solve this one by manipulating your document's DOM.
>
> Agreed; in this case, the CSS object model to alter the styling. Adding
> a rule to the runtime stylesheet that makes all elements in a particular
> set have a defined style is the easiest way to achieve this.

Yes, styling classes can be used to alter the line color, but the drawing
order needs to be altered too.  Lines that come later in the drawing order
that are not in the currently displayed set may partially overlap the
currently displayed set.  Since SVG styling does not use z-order, you have
to resort to re-arranging elements in the DOM.

Kevin
Received on Sunday, 28 October 2001 15:56:30 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT