diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2019-04-24 09:56:39 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-04-24 09:56:39 +0000 |
| commit | 9aa6b66cae11fa0d1b732a78a89fb387372144df (patch) | |
| tree | 240e8a2a7a95e4aa3ea7cb65896681ee6ebcb0e7 /share | |
| parent | Update macOS build pipeline (diff) | |
| download | inkscape-9aa6b66cae11fa0d1b732a78a89fb387372144df.tar.gz inkscape-9aa6b66cae11fa0d1b732a78a89fb387372144df.zip | |
Add 'text-align' to properties not removed in cleaning for <flowPara> and <flowSpan>.
Diffstat (limited to 'share')
| -rw-r--r-- | share/attributes/cssprops | 2 | ||||
| -rwxr-xr-x | share/attributes/genMapDataCSS.pl | 2 | ||||
| -rw-r--r-- | share/attributes/svgprops | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/share/attributes/cssprops b/share/attributes/cssprops index 53a3791b7..093cebb45 100644 --- a/share/attributes/cssprops +++ b/share/attributes/cssprops @@ -150,7 +150,7 @@ "stroke-width" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" -"text-align" - "flowRoot","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" +"text-align" - "flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" "text-anchor" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","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 0b7f7adc2..54266f53f 100755 --- a/share/attributes/genMapDataCSS.pl +++ b/share/attributes/genMapDataCSS.pl @@ -179,7 +179,7 @@ $properties{ "line-height" }->{inherit} = "no"; # Inkscape uses CSS property 'text-align' for flowed text. It is not an SVG 1.1 property # but is found in SVG 1.2 Tiny. -push @{$properties{ "text-align" }->{elements}}, "flowRoot"; +push @{$properties{ "text-align" }->{elements}}, "flowRoot", "flowPara", "flowSpan"; $properties{ "text-align" }->{default} = "start"; $properties{ "text-align" }->{inherit} = "yes"; diff --git a/share/attributes/svgprops b/share/attributes/svgprops index 69d13c857..937197056 100644 --- a/share/attributes/svgprops +++ b/share/attributes/svgprops @@ -590,7 +590,7 @@ "stroke-width" - "path","rect","circle","ellipse","line","polyline","polygon","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" -"text-align" - "flowRoot","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" +"text-align" - "flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" "text-anchor" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" |
