- From: Lars Gunther <gunther@keryx.se>
- Date: Wed, 03 Feb 2010 16:11:04 +0100
- To: SVG IG List <public-svg-ig@w3.org>
2010-02-03 15:04, Erik Dahlstrom skrev:
> Would be fun to see modernizr actually detecting svg functionality too,
> and filters would surely be one thing to test for.
>
> How about something similar to the canvas detection test, e.g:
>
> tests[svg] = function() {
> return !!doc.createElementNS( "http://www.w3.org/2000/svg", "svg"
> ).createSVGRect;
> };
>
Plain SVG detection is on the roadmap for Modernizr:
http://github.com/Modernizr/Modernizr/issues/
Especially:
http://github.com/Modernizr/Modernizr/issues/#issue/13
I don't know if it is possible to do automated tests for filters.
--
Lars Gunther
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/
Received on Wednesday, 3 February 2010 15:11:34 UTC