From 9d6b0e851f455225558c58ee007788bf6b8e3ee3 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Sun, 18 Feb 2018 01:56:29 +0100 Subject: Revert "Promote the path 'd' attribute to a property per SVG 2." Needs further testing. This reverts commit e88644b0f3481c78a9563dbf9ee6b76ab6674583. --- src/attributes.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/attributes.cpp') 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])) -- cgit v1.2.3