summaryrefslogtreecommitdiffstats
path: root/share/attributes/genMapDataCSS.pl
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-03-10 21:34:53 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-03-10 21:34:53 +0000
commit794d725e27886a050f1ca249e2035e50dbe8e6f5 (patch)
tree95e50b096c04411f6b0b2968faef4f11fee94376 /share/attributes/genMapDataCSS.pl
parentFinish implementing reading/writing 'font-variation-settings' CSS property. (diff)
downloadinkscape-794d725e27886a050f1ca249e2035e50dbe8e6f5.tar.gz
inkscape-794d725e27886a050f1ca249e2035e50dbe8e6f5.zip
Update attribute tables for 'font-variation-settings'.
Also add SVG 1.1 specification files used by scripts.
Diffstat (limited to 'share/attributes/genMapDataCSS.pl')
-rwxr-xr-xshare/attributes/genMapDataCSS.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl
index 91d09e37b..0b7f7adc2 100755
--- a/share/attributes/genMapDataCSS.pl
+++ b/share/attributes/genMapDataCSS.pl
@@ -275,7 +275,8 @@ $properties{ "text-decoration-stroke" }->{default} = "NO_DEFAULT";
$properties{ "text-decoration-stroke" }->{inherit} = "no";
-# CSS Fonts
+
+# CSS Fonts Level 3
push @{$properties{ "font-variant-ligatures" }->{elements}}, @container_elements;
push @{$properties{ "font-variant-ligatures" }->{elements}}, @text_content_elements;
$properties{ "font-variant-ligatures" }->{default} = "normal";
@@ -317,6 +318,13 @@ $properties{ "font-feature-settings" }->{default} = "normal";
$properties{ "font-feature-settings" }->{inherit} = "yes";
+# CSS Fonts Level 4
+push @{$properties{ "font-variation-settings" }->{elements}}, @container_elements;
+push @{$properties{ "font-variation-settings" }->{elements}}, @text_content_elements;
+$properties{ "font-variation-settings" }->{default} = "normal";
+$properties{ "font-variation-settings" }->{inherit} = "yes";
+
+
# CSS Writing Modes
push @{$properties{ "text-orientation" }->{elements}}, @container_elements;
push @{$properties{ "text-orientation" }->{elements}}, @text_content_elements;