diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-10-16 09:39:26 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2017-10-16 09:39:26 +0000 |
| commit | 5c009e15be8446c010a4103a9626653c7819274a (patch) | |
| tree | fdd71bdcb8c0d6b12748ed372431c125f9ffb638 /share/attributes/genMapDataCSS.pl | |
| parent | Fix link for FAQ entry on DPI change (diff) | |
| download | inkscape-5c009e15be8446c010a4103a9626653c7819274a.tar.gz inkscape-5c009e15be8446c010a4103a9626653c7819274a.zip | |
Update properties for SVG 2 text. Partial work from Alex Roman
Diffstat (limited to 'share/attributes/genMapDataCSS.pl')
| -rwxr-xr-x | share/attributes/genMapDataCSS.pl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl index a6f432a47..91d09e37b 100755 --- a/share/attributes/genMapDataCSS.pl +++ b/share/attributes/genMapDataCSS.pl @@ -215,22 +215,26 @@ 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; +push @{$properties{ "shape-inside" }->{elements}}, "text"; $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-subtract" }->{elements}}, "text"; +$properties{ "shape-subtract" }->{default} = "auto"; +$properties{ "shape-subtract" }->{inherit} = "no"; -push @{$properties{ "shape-padding" }->{elements}}, @text_content_elements; -$properties{ "shape-padding" }->{default} = "none"; +push @{$properties{ "shape-padding" }->{elements}}, "text"; +$properties{ "shape-padding" }->{default} = "0"; $properties{ "shape-padding" }->{inherit} = "no"; -push @{$properties{ "shape-margin" }->{elements}}, @text_content_elements; +push @{$properties{ "shape-margin" }->{elements}}, "text"; $properties{ "shape-margin" }->{default} = "0"; $properties{ "shape-margin" }->{inherit} = "no"; +push @{$properties{ "inline-size" }->{elements}}, "text"; +$properties{ "inline-size" }->{default} = "0"; +$properties{ "inline-size" }->{inherit} = "no"; + #CSS Text Level 3 push @{$properties{ "text-indent" }->{elements}}, @container_elements; |
