summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-02-18 00:56:29 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-02-18 00:56:29 +0000
commit9d6b0e851f455225558c58ee007788bf6b8e3ee3 (patch)
treed36617c75f27083e26896269bdbf4a165f150e05 /src/attributes.cpp
parentPromote the path 'd' attribute to a property per SVG 2. (diff)
downloadinkscape-9d6b0e851f455225558c58ee007788bf6b8e3ee3.tar.gz
inkscape-9d6b0e851f455225558c58ee007788bf6b8e3ee3.zip
Revert "Promote the path 'd' attribute to a property per SVG 2."
Needs further testing. This reverts commit e88644b0f3481c78a9563dbf9ee6b76ab6674583.
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 7a3916f6d..6522563af 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -138,6 +138,7 @@ 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"},
@@ -421,9 +422,6 @@ 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"},
@@ -554,7 +552,6 @@ static SPStyleProp const props[] = {
/* LivePathEffect */
{SP_PROP_PATH_EFFECT, "effect"},
-
};
#define n_attrs (sizeof(props) / sizeof(props[0]))