diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-02-19 10:43:38 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-02-19 10:43:38 +0000 |
| commit | 0dc1d436a3074f3b0827d379fa945962fe0f9a4b (patch) | |
| tree | 70dc5c6eed02dba87e84edabd0c446ac3a0bde64 /share/attributes | |
| parent | Fix for Bug #1281104 (Open Clipart import dialog crashes with concurrent sear... (diff) | |
| download | inkscape-0dc1d436a3074f3b0827d379fa945962fe0f9a4b.tar.gz inkscape-0dc1d436a3074f3b0827d379fa945962fe0f9a4b.zip | |
Add SVG2 property 'paint-order'.
(bzr r13043)
Diffstat (limited to 'share/attributes')
| -rw-r--r-- | share/attributes/css_defaults | 2 | ||||
| -rw-r--r-- | share/attributes/cssprops | 2 | ||||
| -rwxr-xr-x | share/attributes/genMapDataCSS.pl | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/share/attributes/css_defaults b/share/attributes/css_defaults index e001c091b..5675c6a3b 100644 --- a/share/attributes/css_defaults +++ b/share/attributes/css_defaults @@ -88,6 +88,8 @@ "overflow" - "hidden" - "no" +"paint-order" - "normal" - "yes" + "pointer-events" - "visiblePainted" - "yes" "shape-rendering" - "auto" - "yes" diff --git a/share/attributes/cssprops b/share/attributes/cssprops index 42244f643..a4bc8a398 100644 --- a/share/attributes/cssprops +++ b/share/attributes/cssprops @@ -88,6 +88,8 @@ "overflow" - "svg","symbol","foreignObject","pattern","marker" +"paint-order" - "a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" + "pointer-events" - "circle","ellipse","image","line","path","polygon","polyline","rect","text","use","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" "shape-rendering" - "path","rect","circle","ellipse","line","polyline","polygon","a","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","use" diff --git a/share/attributes/genMapDataCSS.pl b/share/attributes/genMapDataCSS.pl index 98994350a..4a32f96c7 100755 --- a/share/attributes/genMapDataCSS.pl +++ b/share/attributes/genMapDataCSS.pl @@ -194,6 +194,12 @@ push @{$properties{ "isolation" }->{elements}}, @graphics_elements; $properties{ "isolation" }->{default} = "auto"; $properties{ "isolation" }->{inherit} = "no"; +# SVG2 +push @{$properties{ "paint-order" }->{elements}}, @container_elements; +push @{$properties{ "paint-order" }->{elements}}, @graphics_elements; +$properties{ "paint-order" }->{default} = "normal"; +$properties{ "paint-order" }->{inherit} = "yes"; + # Output |
