From a902aa0054815571438197e99e9f512900d3929c Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Tue, 3 Jan 2017 16:24:42 +0100 Subject: Add 'line-height' to allowed properties of tspans. (bzr r15387) --- share/attributes/cssprops | 2 +- share/attributes/genMapDataCSS.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'share/attributes') 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"; -- cgit v1.2.3