summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-01-03 15:24:42 +0000
committertavmjong-free <tavmjong@free.fr>2017-01-03 15:24:42 +0000
commita902aa0054815571438197e99e9f512900d3929c (patch)
tree35336f7573324ced39d25ab914db8362f410c8ba /share
parentFix logic error (non-scaling stroke on text). (diff)
downloadinkscape-a902aa0054815571438197e99e9f512900d3929c.tar.gz
inkscape-a902aa0054815571438197e99e9f512900d3929c.zip
Add 'line-height' to allowed properties of tspans.
(bzr r15387)
Diffstat (limited to 'share')
-rw-r--r--share/attributes/cssprops2
-rwxr-xr-xshare/attributes/genMapDataCSS.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/attributes/cssprops b/share/attributes/cssprops
index fb7397c4e..5e796235e 100644
--- a/share/attributes/cssprops
+++ b/share/attributes/cssprops
@@ -86,7 +86,7 @@
"lighting-color" - "feDiffuseLighting","feSpecularLighting"
-"line-height" - "text","flowRoot","flowPara"
+"line-height" - "text","tspan","flowRoot","flowPara"
"marker" - "path","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use"
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl
index 46b0dd120..a6f432a47 100755
--- a/share/attributes/genMapDataCSS.pl
+++ b/share/attributes/genMapDataCSS.pl
@@ -173,7 +173,7 @@ $properties{ "marker-mid" }->{inherit} = $properties{ "marker-start" }->{inherit
# Inkscape uses CSS property 'line-height' even though this is not part of SVG spec.
-push @{$properties{ "line-height" }->{elements}}, "text", "flowRoot", "flowPara";
+push @{$properties{ "line-height" }->{elements}}, "text", "tspan", "flowRoot", "flowPara";
$properties{ "line-height" }->{default} = "NO DEFAULT";
$properties{ "line-height" }->{inherit} = "no";