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

separating svg data from presentation

From: Mjumbe Ukweli <mjumbewu@hotmail.com>
Date: Tue, 08 May 2001 12:36:37 -0400
To: www-svg@w3.org
Message-ID: <F168nN3sYyCw0UXDcab0000c601@hotmail.com>
here's a question:  why is there an <animateColor> element?  it seems to me 
that svg couldn't care less as to what color any given shape was.  i was 
under the impression that svg's data was basically concerned with describing 
the geometry of an image, not the color, font faces, or anything like that.  
and the same thing can be achieved with <animate attributeType="CSS" 
attributeName="fill"> anyway.

and long as i'm on the topic there shouldn't be any gradient tags either.  i 
hate the idea of cluttering CSS just as much as the next developer but 
gradients should be handled by it.  and patterns too.  patterns are just 
basically background images anyway.

i understand that there is no way currently to create gradients or to set 
the width and height of background images in CSS and for something like SVG 
the ability to do so may be necessary, but it goes against the grain of data 
separate from presentation to have these things in svg.  will things like 
<animateColor>, <linearGradient>, and <pattern> be deprecated in SVG2 or 
after CSS3 (or CSS4)?  or is there a valid reason for them to remain in SVG?

                                                  &#8226; mjumbe &#8226;

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Tuesday, 8 May 2001 12:37:16 GMT

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