From 291925ef62d1068af1c4b7f3614c96d46f3c20f2 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Thu, 31 Jul 2014 16:31:01 +0200 Subject: Basic support for element (rendering only as a paint server). (bzr r13484) --- share/attributes/genMapDataCSS.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'share/attributes/genMapDataCSS.pl') diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl index 4a32f96c7..9b013c758 100755 --- a/share/attributes/genMapDataCSS.pl +++ b/share/attributes/genMapDataCSS.pl @@ -200,6 +200,16 @@ push @{$properties{ "paint-order" }->{elements}}, @graphics_elements; $properties{ "paint-order" }->{default} = "normal"; $properties{ "paint-order" }->{inherit} = "yes"; +push @{$properties{ "solid-color" }->{elements}}, @container_elements; +push @{$properties{ "solid-color" }->{elements}}, @graphics_elements; +$properties{ "solid-color" }->{default} = "#000000"; +$properties{ "solid-color" }->{inherit} = "no"; + +push @{$properties{ "solid-opacity" }->{elements}}, @container_elements; +push @{$properties{ "solid-opacity" }->{elements}}, @graphics_elements; +$properties{ "solid-opacity" }->{default} = "1.0"; +$properties{ "solid-opacity" }->{inherit} = "no"; + # Output -- cgit v1.2.3 From 320bacdb7957098144ee11a015c6614af4f1e6ea Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Wed, 12 Nov 2014 20:26:25 +0100 Subject: Add new text decoration properties. (bzr r13706) --- share/attributes/genMapDataCSS.pl | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'share/attributes/genMapDataCSS.pl') 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 -- cgit v1.2.3