summaryrefslogtreecommitdiffstats
path: root/share/attributes/genMapDataCSS.pl
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-11-12 19:26:25 +0000
committertavmjong-free <tavmjong@free.fr>2014-11-12 19:26:25 +0000
commit320bacdb7957098144ee11a015c6614af4f1e6ea (patch)
tree75640e795119096e4256728382ca8255082df087 /share/attributes/genMapDataCSS.pl
parentFix a bug releasing LPE clip and mask (diff)
downloadinkscape-320bacdb7957098144ee11a015c6614af4f1e6ea.tar.gz
inkscape-320bacdb7957098144ee11a015c6614af4f1e6ea.zip
Add new text decoration properties.
(bzr r13706)
Diffstat (limited to 'share/attributes/genMapDataCSS.pl')
-rwxr-xr-xshare/attributes/genMapDataCSS.pl26
1 files changed, 26 insertions, 0 deletions
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl
index 9b013c758..438c26d04 100755
--- a/share/attributes/genMapDataCSS.pl
+++ b/share/attributes/genMapDataCSS.pl
@@ -210,6 +210,32 @@ push @{$properties{ "solid-opacity" }->{elements}}, @graphics_elements;
$properties{ "solid-opacity" }->{default} = "1.0";
$properties{ "solid-opacity" }->{inherit} = "no";
+# CSS Text Decoration
+push @{$properties{ "text-decoration-line" }->{elements}}, @container_elements;
+push @{$properties{ "text-decoration-line" }->{elements}}, @text_content_elements;
+$properties{ "text-decoration-line" }->{default} = "none";
+$properties{ "text-decoration-line" }->{inherit} = "no";
+
+push @{$properties{ "text-decoration-color" }->{elements}}, @container_elements;
+push @{$properties{ "text-decoration-color" }->{elements}}, @text_content_elements;
+$properties{ "text-decoration-color" }->{default} = "NO_DEFAULT";
+$properties{ "text-decoration-color" }->{inherit} = "no";
+
+push @{$properties{ "text-decoration-style" }->{elements}}, @container_elements;
+push @{$properties{ "text-decoration-style" }->{elements}}, @text_content_elements;
+$properties{ "text-decoration-color" }->{default} = "solid";
+$properties{ "text-decoration-color" }->{inherit} = "no";
+
+push @{$properties{ "text-decoration-fill" }->{elements}}, @container_elements;
+push @{$properties{ "text-decoration-fill" }->{elements}}, @text_content_elements;
+$properties{ "text-decoration-fill" }->{default} = "NO_DEFAULT";
+$properties{ "text-decoration-fill" }->{inherit} = "no";
+
+push @{$properties{ "text-decoration-stroke" }->{elements}}, @container_elements;
+push @{$properties{ "text-decoration-stroke" }->{elements}}, @text_content_elements;
+$properties{ "text-decoration-stroke" }->{default} = "NO_DEFAULT";
+$properties{ "text-decoration-stroke" }->{inherit} = "no";
+
# Output