summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-09-01 15:42:29 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-09-01 15:42:29 +0000
commitaabd30f338d3272617e7cd19d00c794fc09963ea (patch)
tree943472e2034811f41d4f7c804b13668698fbd41b /share
parentOnly register desktop on Dbus once (diff)
downloadinkscape-aabd30f338d3272617e7cd19d00c794fc09963ea.tar.gz
inkscape-aabd30f338d3272617e7cd19d00c794fc09963ea.zip
Add 'vector-effect' to CSS and attribute lists.
Diffstat (limited to 'share')
-rw-r--r--share/attributes/css_defaults2
-rw-r--r--share/attributes/cssprops2
-rwxr-xr-xshare/attributes/genMapDataCSS.pl7
-rw-r--r--share/attributes/svgprops2
4 files changed, 13 insertions, 0 deletions
diff --git a/share/attributes/css_defaults b/share/attributes/css_defaults
index 23cc2089e..a7d789389 100644
--- a/share/attributes/css_defaults
+++ b/share/attributes/css_defaults
@@ -186,6 +186,8 @@
"unicode-bidi" - "normal" - "no"
+"vector-effect" - "none" - "no"
+
"visibility" - "visible" - "yes"
"white-space" - "normal" - "yes"
diff --git a/share/attributes/cssprops b/share/attributes/cssprops
index 093cebb45..0bdc3d705 100644
--- a/share/attributes/cssprops
+++ b/share/attributes/cssprops
@@ -186,6 +186,8 @@
"unicode-bidi" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan"
+"vector-effect" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use"
+
"visibility" - "text","tspan","tref","altGlyph","textPath","a","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use"
"white-space" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","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 54266f53f..6e95b1ead 100755
--- a/share/attributes/genMapDataCSS.pl
+++ b/share/attributes/genMapDataCSS.pl
@@ -210,6 +210,13 @@ push @{$properties{ "solid-opacity" }->{elements}}, @graphics_elements;
$properties{ "solid-opacity" }->{default} = "1";
$properties{ "solid-opacity" }->{inherit} = "no";
+push @{$properties{ "vector-effect" }->{elements}}, @container_elements;
+push @{$properties{ "vector-effect" }->{elements}}, @graphics_elements;
+$properties{ "vector-effect" }->{default} = "none";
+$properties{ "vector-effect" }->{inherit} = "no";
+
+
+# SVG2 Text
push @{$properties{ "white-space" }->{elements}}, @container_elements;
push @{$properties{ "white-space" }->{elements}}, @text_content_elements;
$properties{ "white-space" }->{default} = "normal";
diff --git a/share/attributes/svgprops b/share/attributes/svgprops
index 937197056..2cce58ee5 100644
--- a/share/attributes/svgprops
+++ b/share/attributes/svgprops
@@ -626,6 +626,8 @@
"unicode-bidi" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan"
+"vector-effect" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use"
+
"visibility" - "text","tspan","tref","altGlyph","textPath","a","circle","ellipse","image","line","path","polygon","polyline","rect","text","flowRoot","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use"
"white-space" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use"