From aabd30f338d3272617e7cd19d00c794fc09963ea Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Sun, 1 Sep 2019 17:42:29 +0200 Subject: Add 'vector-effect' to CSS and attribute lists. --- share/attributes/css_defaults | 2 ++ share/attributes/cssprops | 2 ++ share/attributes/genMapDataCSS.pl | 7 +++++++ share/attributes/svgprops | 2 ++ 4 files changed, 13 insertions(+) (limited to 'share') 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" -- cgit v1.2.3