summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-21 22:18:49 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commitad1290795e1334bb4fe73c7bbc3aa7aefdc0aacf (patch)
tree130e3ba2d114229c6840000ee03fb8d3616fbf8b /src/attributes.cpp
parentRemove some documents updates (diff)
downloadinkscape-ad1290795e1334bb4fe73c7bbc3aa7aefdc0aacf.tar.gz
inkscape-ad1290795e1334bb4fe73c7bbc3aa7aefdc0aacf.zip
Fix promote d
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 6522563af..7a3916f6d 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -138,7 +138,6 @@ static SPStyleProp const props[] = {
{SP_ATTR_X, "x"},
{SP_ATTR_Y, "y"},
/* SPPath */
- {SP_ATTR_D, "d"},
{SP_ATTR_INKSCAPE_ORIGINAL_D, "inkscape:original-d"},
/* (Note: XML representation of connectors may change in future.) */
{SP_ATTR_CONNECTOR_TYPE, "inkscape:connector-type"},
@@ -422,6 +421,9 @@ static SPStyleProp const props[] = {
/* CSS & SVG Properites */
+ /* SVG 2 Attributes promoted to properties */
+ {SP_ATTR_D, "d"},
+
/* Paint */
{SP_PROP_COLOR, "color"},
{SP_PROP_OPACITY, "opacity"},
@@ -552,6 +554,7 @@ static SPStyleProp const props[] = {
/* LivePathEffect */
{SP_PROP_PATH_EFFECT, "effect"},
+
};
#define n_attrs (sizeof(props) / sizeof(props[0]))