Letractively / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Option for SVGWeb to skip rendering #370

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As far as I can tell at the moment, SVG Web is an 'all or nothing'
approach. At times, it may be desirable to have SVG Web skip an embedded
SVG file in a page, while having SVGWeb render all other embedded SVG files
(for instance, when comparing SVG Web rendering to the native SVG renderer).

This could be accomplished with a custom attribute on the object tag that
svg.js detects.

Example patch does this with the data-svgwebskip attribute (if this
attribute is defined on the object tag, then svgweb will skip it and not
try to render it).  If you think this is a useful addition, feel free to
choose a less-ugly name.

Original issue reported on code.google.com by codedr...@gmail.com on 29 Oct 2009 at 6:21

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by bradneub...@gmail.com on 19 Nov 2009 at 9:48

GoogleCodeExporter commented 8 years ago
Thanks for the patch, but I don't think I want to apply this custom attribute. 
If you want to compare 
rendering just open the page in two different tabs and have 
?svg.render.forceflash=false on one of 
them to see what happens with native rendering. Marking WONTFIX.

Original comment by bradneub...@gmail.com on 8 Apr 2010 at 10:34