Setting default CSS values

Bug #1468713 reported by VascoT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

When a text element is created in inkscape, it sets all kinds of CSS properties to this element. Many of these properties are set to the default value, according to the CSS specification.

One of them is:
white-space:normal

I propose that inkscape only set CSS values, if these are different from the default value of the CSS specification. This will result in cleaner and smaller documents, that are easier to view and process with third-party tools.

This behaviour is new in inkscape 0.91, and was not there in 0.48

I came across this problem, because of a bug in chromium (which is fixed by now):
https://code.google.com/p/chromium/issues/detail?id=492596

Tags: css svg
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
tags: added: css svg
Revision history for this message
VascoT (vasco-w) wrote :

I created an extension that erases the white-space:normal property:
https://bitbucket.org/vascotenner/inkscape-fix-whitespace-bug/overview

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.