Allow exporting of a SVG file without references to CSS attributes

Bug #171122 reported by Bug Importer
2
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

You should put some kind of plugin or extension to
convert or even generate svg xml code without the syle
attribute (CSS). There are some simple applications
like cell phones apps that don't understand CSS and
make a mess with the code.

Revision history for this message
Bug Importer (bug-importer) wrote :

Are you sure? And/or do have a reference to any SVG standard
that applies?

Surely if an applicance knows that it must ignore part or
all of a given CSS standard, that entity should be
responsible for discarding the styling.

However, your request sounds doable.

Do you think that the 'Export ...' dialog should have some
sort of 'collate', 'strip' or 'save for' option that would
know about such applications and discard heavy or confusing css?

Raster applications do this under the same of 'save for web'
in which meta-data is omitted and small sizew options are
selected for GIFs, PNGs are crushed and so forth. As you
say, it could be an external converter ...

Revision history for this message
Jon A. Cruz (jon-joncruz) wrote :

This sounds like "target profile" support. Given a clear set of
features/support of
a target platform, set things so that Inkscape will facilitate creating
content for
that. SVGTiny might be one of the first to address

Revision history for this message
Martinhejral (martinhejral) wrote :

Hello Jon,

I absolutely agree with you.

We need export to pure SVG Tiny profile (which contains no
CSS!).

At the best, to add new item to "Save as..." dialog (Plain
SVG, ... *SVG Tiny 1.1*) I think.

Good real usage example is the use of Inkscape as an
external editor for the Ikivo Animator -- see the link:
http://www.zive.cz/h/Programovani/AR.asp?ARI=129393

Hystrix (hystrix-)
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
tags: removed: node-editing
summary: - Disable CSS
+ Allow exporting of a SVG file without references to CSS attributes
Revision history for this message
su_v (suv-lp) wrote :

Related feature request:
Bug #171283 “Implement SVG Tiny profile”
<https://bugs.launchpad.net/inkscape/+bug/171283>

Note:
The Optimized SVG export format, based on Scour and added in version 0.47, has an option that allows to convert styles into XML attributes.
<http://tavmjong.free.fr/INKSCAPE/MANUAL/html/File-Export.html#File-Export-SVG>
<http://www.codedread.com/scour/#options>

tags: added: saving svg
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.