diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-13 17:05:21 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-13 17:05:21 +0000 |
| commit | 7b00e5ffe385b53d5b95ebfcc63b0dc54f892a3b (patch) | |
| tree | 9d1d189db1903a66496f26d8964e8713ee3d78d6 /share/attributes | |
| parent | Fixed bugs pointed by su_v. (diff) | |
| parent | Really add new text-decoration properties. (diff) | |
| download | inkscape-7b00e5ffe385b53d5b95ebfcc63b0dc54f892a3b.tar.gz inkscape-7b00e5ffe385b53d5b95ebfcc63b0dc54f892a3b.zip | |
update to trunk
(bzr r13682.1.7)
Diffstat (limited to 'share/attributes')
| -rw-r--r-- | share/attributes/cssprops | 10 | ||||
| -rwxr-xr-x | share/attributes/genMapDataCSS.pl | 26 |
2 files changed, 36 insertions, 0 deletions
diff --git a/share/attributes/cssprops b/share/attributes/cssprops index aefb60cc1..1f8be6b16 100644 --- a/share/attributes/cssprops +++ b/share/attributes/cssprops @@ -124,6 +124,16 @@ "text-decoration" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" +"text-decoration-color" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-fill" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-line" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-stroke" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + +"text-decoration-style" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan" + "text-rendering" - "text","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" "title" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","use","g" 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 |
