diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2013-12-12 14:13:19 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2013-12-12 14:13:19 +0000 |
| commit | 79679a4b733615403756d9bf5d6e71c7f7bd4cc3 (patch) | |
| tree | 8f7fb0564946ae0eec2c73249b95add0a9e38ab6 /share/attributes | |
| parent | Fix for Bug #1255367 (Alt D clears undo history even when nothing happens). (diff) | |
| download | inkscape-79679a4b733615403756d9bf5d6e71c7f7bd4cc3.tar.gz inkscape-79679a4b733615403756d9bf5d6e71c7f7bd4cc3.zip | |
Accept new CSS blend properties as valid.
(bzr r12849)
Diffstat (limited to 'share/attributes')
| -rw-r--r-- | share/attributes/css_defaults | 4 | ||||
| -rw-r--r-- | share/attributes/cssprops | 4 | ||||
| -rwxr-xr-x | share/attributes/genMapDataCSS.pl | 11 |
3 files changed, 19 insertions, 0 deletions
diff --git a/share/attributes/css_defaults b/share/attributes/css_defaults index 1de1e96c1..e001c091b 100644 --- a/share/attributes/css_defaults +++ b/share/attributes/css_defaults @@ -62,6 +62,8 @@ "image-rendering" - "auto" - "yes" +"isolation" - "auto" - "no" + "kerning" - "auto" - "yes" "letter-spacing" - "normal" - "yes" @@ -80,6 +82,8 @@ "mask" - "none" - "no" +"mix-blend-mode" - "normal" - "no" + "opacity" - "1" - "no" "overflow" - "hidden" - "no" diff --git a/share/attributes/cssprops b/share/attributes/cssprops index 1aca8fa43..42244f643 100644 --- a/share/attributes/cssprops +++ b/share/attributes/cssprops @@ -62,6 +62,8 @@ "image-rendering" - "pattern","image","feImage","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" +"isolation" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use" + "kerning" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" "letter-spacing" - "altGlyph","textPath","text","tref","tspan","flowRoot","flowPara","flowSpan","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" @@ -80,6 +82,8 @@ "mask" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use" +"mix-blend-mode" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use" + "opacity" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use" "overflow" - "svg","symbol","foreignObject","pattern","marker" diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl index 76580c642..98994350a 100755 --- a/share/attributes/genMapDataCSS.pl +++ b/share/attributes/genMapDataCSS.pl @@ -183,6 +183,17 @@ push @{$properties{ "text-align" }->{elements}}, "flowRoot"; $properties{ "text-align" }->{default} = "start"; $properties{ "text-align" }->{inherit} = "yes"; +# Compositing and Blending Level 1 +push @{$properties{ "mix-blend-mode" }->{elements}}, @container_elements; +push @{$properties{ "mix-blend-mode" }->{elements}}, @graphics_elements; +$properties{ "mix-blend-mode" }->{default} = "normal"; +$properties{ "mix-blend-mode" }->{inherit} = "no"; + +push @{$properties{ "isolation" }->{elements}}, @container_elements; +push @{$properties{ "isolation" }->{elements}}, @graphics_elements; +$properties{ "isolation" }->{default} = "auto"; +$properties{ "isolation" }->{inherit} = "no"; + # Output |
