diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2015-10-15 09:19:22 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2015-10-15 09:19:22 +0000 |
| commit | a0aa872111376b85e7d748ca6e098c6ef51ec25c (patch) | |
| tree | bf348369e1cdda663f90d8832d366fc95219b3c2 /share/attributes/genMapDataCSS.pl | |
| parent | clang-format (diff) | |
| download | inkscape-a0aa872111376b85e7d748ca6e098c6ef51ec25c.tar.gz inkscape-a0aa872111376b85e7d748ca6e098c6ef51ec25c.zip | |
Add a few new properties dealing with text and transforms.
(bzr r14414)
Diffstat (limited to 'share/attributes/genMapDataCSS.pl')
| -rwxr-xr-x | share/attributes/genMapDataCSS.pl | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl index 438c26d04..380942794 100755 --- a/share/attributes/genMapDataCSS.pl +++ b/share/attributes/genMapDataCSS.pl @@ -223,8 +223,8 @@ $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"; +$properties{ "text-decoration-style" }->{default} = "solid"; +$properties{ "text-decoration-style" }->{inherit} = "no"; push @{$properties{ "text-decoration-fill" }->{elements}}, @container_elements; push @{$properties{ "text-decoration-fill" }->{elements}}, @text_content_elements; @@ -236,6 +236,42 @@ push @{$properties{ "text-decoration-stroke" }->{elements}}, @text_content_eleme $properties{ "text-decoration-stroke" }->{default} = "NO_DEFAULT"; $properties{ "text-decoration-stroke" }->{inherit} = "no"; +# CSS Writing Modes +push @{$properties{ "text-orientation" }->{elements}}, @container_elements; +push @{$properties{ "text-orientation" }->{elements}}, @text_content_elements; +$properties{ "text-orientation" }->{default} = "mixed"; +$properties{ "text-orientation" }->{inherit} = "yes"; + +# CSS Transformations +push @{$properties{ "transform" }->{elements}}, @container_elements; +push @{$properties{ "transform" }->{elements}}, @graphics_elements; +$properties{ "transform" }->{default} = "none"; +$properties{ "transform" }->{inherit} = "no"; + +push @{$properties{ "transform-origin" }->{elements}}, @container_elements; +push @{$properties{ "transform-origin" }->{elements}}, @graphics_elements; +$properties{ "transform-origin" }->{default} = "NO_DEFAULT"; # Default is complicated +$properties{ "transform-origin" }->{inherit} = "no"; + +push @{$properties{ "transform-style" }->{elements}}, @container_elements; +push @{$properties{ "transform-style" }->{elements}}, @graphics_elements; +$properties{ "transform-style" }->{default} = "flat"; +$properties{ "transform-style" }->{inherit} = "no"; + +push @{$properties{ "perspective" }->{elements}}, @container_elements; +push @{$properties{ "perspective" }->{elements}}, @graphics_elements; +$properties{ "perspective" }->{default} = "none"; +$properties{ "perspective" }->{inherit} = "no"; + +push @{$properties{ "perspective-origin" }->{elements}}, @container_elements; +push @{$properties{ "perspective-origin" }->{elements}}, @graphics_elements; +$properties{ "perspective-origin" }->{default} = "NO_DEFAULT"; # Default is complicated +$properties{ "perspective-origin" }->{inherit} = "no"; + +push @{$properties{ "backface-visibility" }->{elements}}, @container_elements; +push @{$properties{ "backface-visibility" }->{elements}}, @graphics_elements; +$properties{ "backface-visibility" }->{default} = "visible"; +$properties{ "backface-visibility" }->{inherit} = "no"; # Output |
