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

Re: CSS in SVG tests?

From: Erik Dahlstrom <ed@opera.com>
Date: Thu, 26 May 2011 13:25:41 +0200
To: www-svg@w3.org
Cc: "Tavmjong Bah" <tavmjong@free.fr>
Message-ID: <op.vv2503cbgeuyw5@localhost.localdomain>
On Thu, 26 May 2011 11:01:23 +0200, Tavmjong Bah <tavmjong@free.fr> wrote:

>
> Hi,
>
> 	Has anybody put together a set of CSS in SVG tests (besides those
> included in the W3C SVG test suite)? We have a GSOC student who is
> working on improving Inkscape's CSS support.

I think such tests would be useful, but I'm not aware of any fully  
covering testsuite for that. Have you asked on www-style too? It's  
probably possible to convert the CSS2.1 testsuite[1] to use svg elements  
without too much trouble, though that would miss out on the properties  
defined in the SVG spec(s) and not all properties in CSS2.1 apply to svg  
elements.

As a somewhat related feature request, it would be nice if Inkscape  
stopped outputting style attributes with tons of properties with their  
default values specified. And it would be really nice if Inkscape could  
optionally gather common styles in a <style> element and use e.g class  
selectors to apply it to the proper elements.


[1] http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Thursday, 26 May 2011 11:26:16 GMT

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