Cascading Style Sheets (CSS) Support
Bug #170246 reported by
Rickbeton
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Medium
|
Unassigned |
Bug Description
To be a complete SVG editor, Inkscape needs to include
CSS support. CSS is especially important for:
* color selection [see also RFE924655]
* stroke and fill properties
* text/font properties
Also, SVG has many other properties controllable by CSS.
Rick :-)
tags: |
added: css styles removed: other |
To post a comment you must log in.
CSS support would be good.
I'm just doing a simple map and it would be useful to assign
a class attribute to all the building, all the roads etc.
Then I could easily change the colour of all the buildings
at once, or make them invisible etc. It would also make file
sizes smaller.
I would think that very basic CSS support would be fairly
straightforward to implement: when you render an object, use
the styles from the external style definition if one exists,
as well as from the style specific to that object.
Of course the complications would start once you get to the
cascading bit; working out what has preference over others etc.
Also there seems to be a few different ways of specifying www.carto. net/papers/ svg/samples/ styles. shtml
CSS styles, see here for example:
http://
Anyway Inkscape is looking very impressive already!