summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-10-14 11:49:43 +0000
committertavmjong-free <tavmjong@free.fr>2014-10-14 11:49:43 +0000
commitf8d50684eddc79a56c79a679b6d0d608b739a0cc (patch)
tree7ad5a65a230f5fb0b97cae3a04ccd3f5c2940b35 /src/attributes.cpp
parentFix crash with GTK+ 3.14 on launch (diff)
downloadinkscape-f8d50684eddc79a56c79a679b6d0d608b739a0cc.tar.gz
inkscape-f8d50684eddc79a56c79a679b6d0d608b739a0cc.zip
Add 'white-space' CSS property (replaces deprecated xml:space).
(bzr r13612)
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index fec5d3af4..2474e4abe 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -413,10 +413,6 @@ static SPStyleProp const props[] = {
/* Text */
{SP_PROP_TEXT_INDENT, "text-indent"},
{SP_PROP_TEXT_ALIGN, "text-align"},
- {SP_PROP_TEXT_DECORATION, "text-decoration"},
- {SP_PROP_TEXT_DECORATION_LINE, "text-decoration-line"},
- {SP_PROP_TEXT_DECORATION_STYLE,"text-decoration-style"},
- {SP_PROP_TEXT_DECORATION_COLOR,"text-decoration-color"},
{SP_PROP_LINE_HEIGHT, "line-height"},
{SP_PROP_LETTER_SPACING, "letter-spacing"},
{SP_PROP_WORD_SPACING, "word-spacing"},
@@ -433,6 +429,12 @@ static SPStyleProp const props[] = {
{SP_PROP_GLYPH_ORIENTATION_VERTICAL, "glyph-orientation-vertical"},
{SP_PROP_KERNING, "kerning"},
{SP_PROP_TEXT_ANCHOR, "text-anchor"},
+ {SP_PROP_WHITE_SPACE, "white-space"},
+ /* Text Decoration */
+ {SP_PROP_TEXT_DECORATION, "text-decoration"},
+ {SP_PROP_TEXT_DECORATION_LINE, "text-decoration-line"},
+ {SP_PROP_TEXT_DECORATION_STYLE,"text-decoration-style"},
+ {SP_PROP_TEXT_DECORATION_COLOR,"text-decoration-color"},
/* Misc */
{SP_PROP_CLIP, "clip"},
{SP_PROP_COLOR, "color"},