summaryrefslogtreecommitdiffstats
path: root/share/attributes/genMapDataCSS.pl
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-12-02 16:35:33 +0000
committertavmjong-free <tavmjong@free.fr>2015-12-02 16:35:33 +0000
commit947e19464e621348fc41c9fd359d17a894d09253 (patch)
tree484e7fb90a42ede591b8159226ecf887de4eba85 /share/attributes/genMapDataCSS.pl
parentCorrect line spacing for text in a shape when various font-sizes present. (diff)
downloadinkscape-947e19464e621348fc41c9fd359d17a894d09253.tar.gz
inkscape-947e19464e621348fc41c9fd359d17a894d09253.zip
Add some SVG2 text properties to tables.
(bzr r14500)
Diffstat (limited to 'share/attributes/genMapDataCSS.pl')
-rwxr-xr-xshare/attributes/genMapDataCSS.pl22
1 files changed, 22 insertions, 0 deletions
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl
index 0d6e5c13d..f5f14e1e6 100755
--- a/share/attributes/genMapDataCSS.pl
+++ b/share/attributes/genMapDataCSS.pl
@@ -210,6 +210,28 @@ push @{$properties{ "solid-opacity" }->{elements}}, @graphics_elements;
$properties{ "solid-opacity" }->{default} = "1.0";
$properties{ "solid-opacity" }->{inherit} = "no";
+push @{$properties{ "white-space" }->{elements}}, @container_elements;
+push @{$properties{ "white-space" }->{elements}}, @text_content_elements;
+$properties{ "white-space" }->{default} = "normal";
+$properties{ "white-space" }->{inherit} = "yes";
+
+push @{$properties{ "shape-inside" }->{elements}}, @text_content_elements;
+$properties{ "shape-inside" }->{default} = "auto";
+$properties{ "shape-inside" }->{inherit} = "no";
+
+push @{$properties{ "shape-outside" }->{elements}}, @text_content_elements;
+$properties{ "shape-outside" }->{default} = "auto";
+$properties{ "shape-outside" }->{inherit} = "no";
+
+push @{$properties{ "shape-padding" }->{elements}}, @text_content_elements;
+$properties{ "shape-padding" }->{default} = "none";
+$properties{ "shape-padding" }->{inherit} = "no";
+
+push @{$properties{ "shape-margin" }->{elements}}, @text_content_elements;
+$properties{ "shape-margin" }->{default} = "0";
+$properties{ "shape-margin" }->{inherit} = "no";
+
+
# CSS Text Decoration
push @{$properties{ "text-decoration-line" }->{elements}}, @container_elements;
push @{$properties{ "text-decoration-line" }->{elements}}, @text_content_elements;